Re: [PATCH] drm/amd/powerplay: fix a signedness bugs

2017-05-22 Thread Zhu, Rex
Patches has been applied. Thanks. Best Regards Rex From: Huang, JinHuiEric Sent: Friday, May 19, 2017 12:28:09 AM To: Dan Carpenter; Deucher, Alexander; Zhu, Rex Cc: Koenig, Christian; David Airlie; Wang, Ken; Huang, Ray; amd-gfx@lists.freedesktop.org;

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

2017-05-22 Thread Michel Dänzer
On 23/05/17 12:50 PM, Lukas Wunner wrote: > On Tue, May 23, 2017 at 12:09:49PM +0900, Michel Dänzer wrote: >> On 22/05/17 11:04 PM, Lukas Wunner wrote: >>> On Sun, May 21, 2017 at 09:31:09AM +0200, Nicolai Stange wrote: On Thu, May 18 2017, Lukas Wunner wrote: >>> [snip] > Reported-by:

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

2017-05-22 Thread Lukas Wunner
On Tue, May 23, 2017 at 12:09:49PM +0900, Michel Dänzer wrote: > On 22/05/17 11:04 PM, Lukas Wunner wrote: > > On Sun, May 21, 2017 at 09:31:09AM +0200, Nicolai Stange wrote: > >> On Thu, May 18 2017, Lukas Wunner wrote: > > [snip] > >>> Reported-by: Nicolai Stange > >>>

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

2017-05-22 Thread Michel Dänzer
On 22/05/17 11:04 PM, Lukas Wunner wrote: > On Sun, May 21, 2017 at 09:31:09AM +0200, Nicolai Stange wrote: >> On Thu, May 18 2017, Lukas Wunner wrote: > [snip] >>> Reported-by: Nicolai Stange >>> Fixes: 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with >>>

Re: [PATCH 0/3] drm/amdgpu: Tweaks for high pressure on CPU visible VRAM

2017-05-22 Thread Michel Dänzer
On 22/05/17 07:09 PM, Marek Olšák wrote: > On Mon, May 22, 2017 at 12:00 PM, Michel Dänzer wrote: >> On 20/05/17 06:26 PM, Marek Olšák wrote: >>> On May 20, 2017 3:26 AM, "Michel Dänzer" >> > wrote: >>> >>> On 20/05/17 01:14

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

2017-05-22 Thread Sean Paul
On Mon, May 22, 2017 at 04:04:07PM +0200, Lukas Wunner wrote: > On Sun, May 21, 2017 at 09:31:09AM +0200, Nicolai Stange wrote: > > On Thu, May 18 2017, Lukas Wunner wrote: > [snip] > > > Reported-by: Nicolai Stange > > > Fixes: 7ffb0ce31cf9 ("drm/radeon: Don't register

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

2017-05-22 Thread Daniel Vetter
On Thu, May 18, 2017 at 09:33:44PM +0200, Lukas Wunner wrote: > Nicolai Stange reports the following oops which is caused by > dereferencing rdev->pdev before it's subsequently set by > radeon_device_init(). Fix it. > > BUG: unable to handle kernel NULL pointer dereference at 07cb

RE: [PATCH] drm/amdgpu: fix merge of vcn_v1_0.c

2017-05-22 Thread Zhang, Hawking
I think vcn_v1_0_enc_ring_emit_vm_flush also requires this line. With that fixed the patch is Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: Christian König [mailto:deathsim...@vodafone.de] Sent: Monday, May 22, 2017 19:23 To:

Re: [PATCH 0/3] drm/amdgpu: Tweaks for high pressure on CPU visible VRAM

2017-05-22 Thread John Brooks
On Mon, May 22, 2017 at 12:09:21PM +0200, Marek Olšák wrote: > On Mon, May 22, 2017 at 12:00 PM, Michel Dänzer wrote: > > On 20/05/17 06:26 PM, Marek Olšák wrote: > >> On May 20, 2017 3:26 AM, "Michel Dänzer" >> > wrote: > >> >

RE: [PATCH] drm/amdgpu: fix merge of vcn_v1_0.c

2017-05-22 Thread Zhang, Hawking
I think vcn_v1_0_enc_ring_emit_vm_flush also requires this line. With that fixed the patch is Reviewed-by: Hawking Zhang Regards, Hawking -Original Message- From: Christian König [mailto:deathsim...@vodafone.de] Sent: Monday, May 22, 2017 19:23 To:

Re: [PATCH] drm/radeon: Fix oops upon driver load on PowerXpress laptops

2017-05-22 Thread Lukas Wunner
On Sun, May 21, 2017 at 09:31:09AM +0200, Nicolai Stange wrote: > On Thu, May 18 2017, Lukas Wunner wrote: [snip] > > Reported-by: Nicolai Stange > > Fixes: 7ffb0ce31cf9 ("drm/radeon: Don't register Thunderbolt eGPU with > > vga_switcheroo") > > Signed-off-by: Lukas Wunner

Re: [PATCH v2 0/3] Cleanup evergreen/si IRQ handling code

2017-05-22 Thread Lyude Paul
On Sat, 2017-05-20 at 13:39 +0200, Christian König wrote: > Am 20.05.2017 um 01:48 schrieb Lyude: > > This is the first part of me going through and cleaning up the IRQ > > handling > > code for radeon, since after taking a look at it the other day > > while trying to > > debug something I

[PATCH] drm/amdgpu: fix merge of vcn_v1_0.c

2017-05-22 Thread Christian König
From: Christian König That line got missed during the merge. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c

回复: [PATCH] drm/amdgpu: fix ocl test performance drop

2017-05-22 Thread Zhou, David(ChunMing)
Reviewed-by: Chunming Zhou 原始邮件 主题:Re: [PATCH] drm/amdgpu: fix ocl test performance drop 发件人:Flora Cui 收件人:"Zhou, David(ChunMing)" 抄送:amd-gfx@lists.freedesktop.org partial revert commit <6971d3d> - drm/amdgpu: cleanup logic in amdgpu_vm_flush Change-Id:

Re: [PATCH] drm/amdgpu: fix ocl test performance drop

2017-05-22 Thread Christian König
Am 22.05.2017 um 12:10 schrieb Flora Cui: partial revert commit <6971d3d> - drm/amdgpu: cleanup logic in amdgpu_vm_flush Change-Id: Iadce9d613dfe9a739643a74050cea55854832adb Signed-off-by: Flora Cui Reviewed-by: Christian König ---

Re: [PATCH] drm/amdgpu: fix ocl test performance drop

2017-05-22 Thread Flora Cui
partial revert commit <6971d3d> - drm/amdgpu: cleanup logic in amdgpu_vm_flush Change-Id: Iadce9d613dfe9a739643a74050cea55854832adb Signed-off-by: Flora Cui --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH 0/3] drm/amdgpu: Tweaks for high pressure on CPU visible VRAM

2017-05-22 Thread Marek Olšák
On Mon, May 22, 2017 at 12:00 PM, Michel Dänzer wrote: > On 20/05/17 06:26 PM, Marek Olšák wrote: >> On May 20, 2017 3:26 AM, "Michel Dänzer" > > wrote: >> >> On 20/05/17 01:14 AM, Marek Olšák wrote: >> > Hi Michel, >>

[PATCH 2/2] drm/amd/display: call amdgpu_dm_fini whewn sw_fini.

2017-05-22 Thread Rex Zhu
fix issue: unload amdgpu, can't load amdgpu again. the error as: [drm:drm_debugfs_init [drm]] *ERROR* Cannot create /sys/kernel/debug/dri/0 [drm:drm_minor_register [drm]] *ERROR* DRM: Failed to initialize /sys/kernel/debug/dri. Change-Id: If94a24ad5b30e32c3445b554bfd2884e2d27eaf9 Signed-off-by:

[PATCH 1/2] drm/amdgpu: fix null point error when rmmod amdgpu.

2017-05-22 Thread Rex Zhu
this bug happened when amdgpu load failed. [ 75.740951] BUG: unable to handle kernel paging request at 31c0 [ 75.748167] IP: [] amdgpu_fbdev_restore_mode+0x20/0x60 [amdgpu] [ 75.755774] PGD 0 [ 75.759185] Oops: [#1] SMP [ 75.762408] Modules linked in: amdgpu(OE-)

Re: [PATCH] drm/amdgpu: fix ocl test performance drop

2017-05-22 Thread zhoucm1
On 2017年05月22日 16:34, Flora Cui wrote: partial revert commit <6971d3d> - drm/amdgpu: cleanup logic in amdgpu_vm_flush Change-Id: Iadce9d613dfe9a739643a74050cea55854832adb Signed-off-by: Flora Cui --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++--- 1 file changed, 3

[PATCH] drm/amdgpu: fix ocl test performance drop

2017-05-22 Thread Flora Cui
partial revert commit <6971d3d> - drm/amdgpu: cleanup logic in amdgpu_vm_flush Change-Id: Iadce9d613dfe9a739643a74050cea55854832adb Signed-off-by: Flora Cui --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] drm/amdgpu: fix ocl test performance drop

2017-05-22 Thread Flora Cui
Could anyone give me a RB? On Fri, May 19, 2017 at 01:59:16PM +0200, Christian König wrote: > I'm pretty sure that bug is fixed in GFX9. So we don't need the check there > any more. > > Regards, > Christian. > > Am 19.05.2017 um 07:16 schrieb zhoucm1: > >I also realized this problem when I did

Re: [PATCH] drm/amd: include instead of "linux/delay.h"

2017-05-22 Thread Christian König
Am 22.05.2017 um 10:06 schrieb Daniel Vetter: On Mon, May 22, 2017 at 09:55:46AM +0200, Christian König wrote: Am 22.05.2017 um 09:39 schrieb Daniel Vetter: On Thu, May 18, 2017 at 08:47:34AM +0200, Christian König wrote: Am 18.05.2017 um 06:43 schrieb Masahiro Yamada: Use <...> notation to

Re: [PATCH] drm: Harmonize CIK ASIC support in radeon and amdgpu (v2)

2017-05-22 Thread Michel Dänzer
On 22/05/17 10:54 AM, Michel Dänzer wrote: > On 20/05/17 03:55 AM, Felix Kuehling wrote: >> On 17-05-18 09:17 PM, Michel Dänzer wrote: > > The default at this point should possibly still be for CIK GPUs to be > driven by radeon, even if CONFIG_DRM_AMDGPU_CIK is enabled; Alex and

Re: [PATCH] drm/amd: include instead of "linux/delay.h"

2017-05-22 Thread Christian König
Am 22.05.2017 um 09:39 schrieb Daniel Vetter: On Thu, May 18, 2017 at 08:47:34AM +0200, Christian König wrote: Am 18.05.2017 um 06:43 schrieb Masahiro Yamada: Use <...> notation to include headers located in include/linux. While we are here, tweak the includes order a bit to sort them

[PATCH] iommu/amd: flush IOTLB for specific domains only (v3)

2017-05-22 Thread arindam . nath
From: Arindam Nath Change History -- v3: - add Fixes and CC tags - add link to Bugzilla v2: changes suggested by Joerg - add flush flag to improve efficiency of flush operation v1: - The idea behind flush queues is to defer the IOTLB flushing for domains

Re: [PATCH] drm/amd: include instead of "linux/delay.h"

2017-05-22 Thread Daniel Vetter
On Thu, May 18, 2017 at 08:47:34AM +0200, Christian König wrote: > Am 18.05.2017 um 06:43 schrieb Masahiro Yamada: > > Use <...> notation to include headers located in include/linux. > > While we are here, tweak the includes order a bit to sort them > > alphabetically. > > > > Signed-off-by:

Re: (radeon?) WARNING: drivers/gpu/drm/drm_irq.c:1195 drm_vblank_put (v4.11-12441-g56868a4)

2017-05-22 Thread Daniel Vetter
On Thu, May 18, 2017 at 07:43:51PM +0300, Tommi Rantala wrote: > 2017-05-11 5:51 GMT+03:00 Michel Dänzer : > > On 11/05/17 04:33 AM, Tommi Rantala wrote: > >> Complete kernel log: > >> http://termbin.com/dzy5 > >> > >> [ 249.952546] [ cut here ] > >> [