drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7
authorAmber Lin <Amber.Lin@amd.com>
Thu, 13 Sep 2018 01:42:18 +0000 (21:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Sep 2018 15:25:01 +0000 (10:25 -0500)
commitcaaa4c8a6be2a275bd14f2369ee364978ff74704
treeee3779eeb2948a3e7abc7e37c74fecaefda00202
parent30f3984ede683b98a4e8096e200df78bf0609b4f
drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7

A wrong register bit was examinated for checking SDMA status so it reports
false failures. This typo only appears on gfx_v7. gfx_v8 checks the correct
bit.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c