drm/amdgpu: should stop GFX ring in hw_fini
authorMonk Liu <Monk.Liu@amd.com>
Fri, 29 Nov 2019 08:20:51 +0000 (16:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2019 22:38:49 +0000 (17:38 -0500)
commiteb529b8e46b87c1f89deeb1e736cf704948326e3
tree0b833631e7d9794ff357f56c405739064075ef11
parent6de40f02b355ae4c449acdaae19bac1ee380a01d
drm/amdgpu: should stop GFX ring in hw_fini

To align with the scheme from gfx9

disabling GFX ring after VM shutdown could avoid
garbage data be fetched to GFX RB which may lead
to unnecessary screw up on GFX

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c