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 +--
[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
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 -