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>
Tue, 3 Dec 2019 16:57:54 +0000 (11:57 -0500)
commitcd05b51aaa6ea6f7e4c22802e3f2703ac6087912
tree6ec1bb698d8f785824ce4cfde2d131c4d9e80c5c
parentdacf56e45ded829a87cefab17bf6800d6cacd236
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