Re: [PATCH xf86-video-amdgpu] amdgpu_probe: Do not close server managed drm fds

2016-10-19 Thread Hans de Goede
Hi, On 19-10-16 04:42, Michel Dänzer wrote: [ Moving to the amd-gfx mailing list, where xf86-video-amdgpu (and -ati) patches are reviewed ] On 18/10/16 11:48 PM, Hans de Goede wrote: This fixes the xserver only seeing AMD/ATI devices supported by the amdgpu driver, as by the time

[PATCH xf86-video-amdgpu] Order unique chipsets according to first appearance in ati_pciids.csv

2016-10-19 Thread Michel Dänzer
From: Michel Dänzer Instead of lexically. This makes it more likely for similar generations to be close to each other in the list of unique chipsets. (Ported from radeon commit 1ce1b1656acc6211deb2091ff7f28d51b6daf86b, plus change $numunique++ => ++$numunique to fix

Re: mm: fix cache mode tracking in vm_insert_mixed() breaks AMDGPU [was: Re: Latest testing with drm-next-4.9-wip and latest LLVM/mesa stack - Regression in PowerPlay/DPM on CIK?]

2016-10-19 Thread Marek Olšák
On Wed, Oct 19, 2016 at 8:42 AM, Dave Airlie wrote: > On 18 October 2016 at 23:53, Dan Williams wrote: >> On Mon, Oct 17, 2016 at 8:48 PM, Dave Airlie wrote: >> [..] > Aren't there only 2 possibilities for this regression?

[PATCH] drm/amdgpu: atombios stuck executing during S3 stress test

2016-10-19 Thread jimqu
Sometimes, atombios may be stucked when resume back. Duo to PCIE has set to D3cold, the ACC of GFX adapter is power-down. it should re-init the scratch registers. with the change, test is pass more than 80 cycles on Fiji. Change-Id: I9cf40c475c4a5a31216949d50cc5e30b74dc21c4 Signed-off-by: JimQu

Re: mm: fix cache mode tracking in vm_insert_mixed() breaks AMDGPU [was: Re: Latest testing with drm-next-4.9-wip and latest LLVM/mesa stack - Regression in PowerPlay/DPM on CIK?]

2016-10-19 Thread Michel Dänzer
On 19/10/16 07:33 PM, Marek Olšák wrote: > On Wed, Oct 19, 2016 at 8:42 AM, Dave Airlie wrote: >> On 18 October 2016 at 23:53, Dan Williams wrote: >>> On Mon, Oct 17, 2016 at 8:48 PM, Dave Airlie wrote: >>> [..] >> Aren't there

Re: [PATCH xf86-video-amdgpu] amdgpu_probe: Do not close server managed drm fds

2016-10-19 Thread Michel Dänzer
On 19/10/16 06:49 PM, Hans de Goede wrote: > On 19-10-16 04:42, Michel Dänzer wrote: >> On 18/10/16 11:48 PM, Hans de Goede wrote: >>> This fixes the xserver only seeing AMD/ATI devices supported by the >>> amdgpu >>> driver, as by the time xf86-video-ati gets a chance to probe them, the >>> fd

RE: [PATCH] drm/amd/powerplay: don't give up if DPM is already running

2016-10-19 Thread Zhu, Rex
Hi Gražvydas, Sorry for so late response. I can reproduce this issue in gpu passthrough case. When we forced power off the VM or forced reset the VM without shutting down the Os, the rmmod will not be called. So dpm was still running. If we skipped the enable dpm tasks, some clock tables were

Re: [PATCH xf86-video-amdgpu] Order unique chipsets according to first appearance in ati_pciids.csv

2016-10-19 Thread Alex Deucher
On Wed, Oct 19, 2016 at 5:28 AM, Michel Dänzer wrote: > From: Michel Dänzer > > Instead of lexically. This makes it more likely for similar generations > to be close to each other in the list of unique chipsets. > > (Ported from radeon commit

[PATCH] drm/amdgpu: explicitly set pg_flags for ST

2016-10-19 Thread Alex Deucher
No need to retain previous settings as this is the first time we set pg_flags. Probably a copy/paste typo from the CZ code. Avoids confusion. No change in behavior as adev is kzallocated. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 2 +- 1 file

Re: [PATCH] drm/amdgpu: explicitly set pg_flags for ST

2016-10-19 Thread StDenis, Tom
Reviewed-by: Tom St Denis From: amd-gfx on behalf of Alex Deucher Sent: Wednesday, October 19, 2016 13:10 To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: