drm/amdgpu/gfx8: Fix compute ring failure after resetting
authorXiangliang.Yu <Xiangliang.Yu@amd.com>
Fri, 10 Nov 2017 06:23:38 +0000 (14:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:20 +0000 (12:47 -0500)
commit75737cb4eb78c7f185e4700b4aa20cf7a3381aca
treec2131dbc13b6d127a5fc82351cd4364c0839923d
parentadd526b34a8e183d9df14f1acaaffae31bbf52d0
drm/amdgpu/gfx8: Fix compute ring failure after resetting

Do ring clear before ring test, otherwise compute ring test will
fail after gpu resetting. Still can't find the root cause, just
workaround it.

Signed-off-by: Xiangliang.Yu <Xiangliang.Yu@amd.com>
Acked-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c