Re: [PATCH] drm/amdgpu/gfx9: properly set the hdp flush reg for Raven

2017-09-03 Thread Zhang, Jerry (Junwei)
On 09/02/2017 02:18 PM, Alex Deucher wrote: Was only being assigned for vega10. Signed-off-by: Alex Deucher Reviewed-by: Junwei Zhang --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/

Re: [PATCH 0/1] [rfc] Port UVD from radeon for SI

2017-09-03 Thread Alexandre Demers
Hi Trevor, I'm working on the VCE port side, which is pretty similar to UVD in many ways. I'll send some patches about this port soon, but I'll also need some RFC in the lot and help to get over hangs I hit with VCE rings. It's just not going as fast as I'd like, we had a baby a few months ago and

[PATCH 2/10] drm/amdgpu: Use ARRAY_SIZE macro

2017-09-03 Thread Thomas Meyer
Use ARRAY_SIZE macro, rather than explicitly coding some variant of it yourself. Found with: find -type f -name "*.c" -o -name "*.h" | xargs perl -p -i -e 's/\bsizeof\s*\(\s*(\w+)\s*\)\s*\ /\s*sizeof\s*\(\s*\1\s*\[\s*0\s*\]\s*\) /ARRAY_SIZE(\1)/g' and manual check/verification. Signed-off-by: Thom

[PATCH 1/1] drm/amd/powerplay: initialize a variable before using it

2017-09-03 Thread Nicolas Iooss
Function vega10_apply_state_adjust_rules() only initializes stable_pstate_sclk_dpm_percentage when data->registry_data.stable_pstate_sclk_dpm_percentage is not between 1 and 100. The variable is then used to compute stable_pstate_sclk, which therefore uses an uninitialized value. Fix this by initi

Re: [PATCH 00/13] mmu_notifier kill invalidate_page callback v2

2017-09-03 Thread Andrea Arcangeli
On Thu, Aug 31, 2017 at 05:17:25PM -0400, Jerome Glisse wrote: > Jérôme Glisse (13): > dax: update to new mmu_notifier semantic > mm/rmap: update to new mmu_notifier semantic > powerpc/powernv: update to new mmu_notifier semantic > drm/amdgpu: update to new mmu_notifier semantic > IB/umem

Re: [PATCH 5/8] drm/amdkfd: Use PASID manager from KGD

2017-09-03 Thread Oded Gabbay
On Wed, Aug 30, 2017 at 1:25 AM, Felix Kuehling wrote: > Signed-off-by: Felix Kuehling > --- > drivers/gpu/drm/amd/amdkfd/kfd_module.c | 6 --- > drivers/gpu/drm/amd/amdkfd/kfd_pasid.c | 90 > ++--- > 2 files changed, 38 insertions(+), 58 deletions(-) > > diff --gi