Re: [PATCH] drm/amdkfd: fix the wrong sdma instance query for renoir

2020-08-11 Thread Felix Kuehling
Am 2020-08-11 um 2:27 a.m. schrieb Huang Rui: > Renoir only has one sdma instance, it will get failed once query the > sdma1 registers. So use switch-case instead of static register array. > > Signed-off-by: Huang Rui > --- > .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 31 +--

Re: [PATCH] drm/amdkfd: fix the wrong sdma instance query for renoir

2020-08-11 Thread Deucher, Alexander
[AMD Public Use] Reviewed-by: Alex Deucher From: amd-gfx on behalf of Huang Rui Sent: Tuesday, August 11, 2020 2:27 AM To: amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Huang, Ray Subject: [PATCH] drm/amdkfd: fix the wrong sdma instance query for

[PATCH] drm/amdkfd: fix the wrong sdma instance query for renoir

2020-08-10 Thread Huang Rui
Renoir only has one sdma instance, it will get failed once query the sdma1 registers. So use switch-case instead of static register array. Signed-off-by: Huang Rui --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c | 31 +-- 1 file changed, 22 insertions(+), 9 deletions(-) diff -