summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2020-08-11 13:54:56 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-08-17 14:06:13 -0400
commitd95c42a150d01e28830e0f597bc126a20db8fd0b (patch)
treeeddeb06b62f83957ccbace3595b8374b69a8d3bc /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent2a25ba97879f809e79642fca05178d4ee77f9f52 (diff)
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_cs.c')
0 files changed, 0 insertions, 0 deletions