drm/amdgpu/psp: Destroy psp ring when doing gpu reset
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Wed, 5 Dec 2018 06:36:33 +0000 (14:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Dec 2018 22:53:46 +0000 (17:53 -0500)
commit53450efd6eb9e3155e16c14ce2ece387fc2d65e7
treee46496ff96a5db6577ce15f6102ae44243cf08e3
parent5ec996dfb6a19f3ea6d7ab9e74e9f32954af8466
drm/amdgpu/psp: Destroy psp ring when doing gpu reset

PSP ring need to be destroy before starting reinit for vf.
This patche move it from hypervisor driver into guest.

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