summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2020-08-11 08:54:56 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-08-17 21:06:13 +0300
commitd95c42a150d01e28830e0f597bc126a20db8fd0b (patch)
treeeddeb06b62f83957ccbace3595b8374b69a8d3bc /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent2a25ba97879f809e79642fca05178d4ee77f9f52 (diff)
downloadlinux-d95c42a150d01e28830e0f597bc126a20db8fd0b.tar.xz
drm/amdkfd: fix the wrong sdma instance query for renoir
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 <ray.huang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions