drm/amdgpu: Use driver mode reset for data poison
authorHawking Zhang <Hawking.Zhang@amd.com>
Tue, 16 Apr 2024 06:25:26 +0000 (14:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Apr 2024 03:46:23 +0000 (23:46 -0400)
commit5e984b0a3d2a5e0e27cb6c194058d6d9859911d2
tree083f9d99ce9aea3c96179be6c469b36705032d09
parent5adcd78fa2bcc458f9786067bcf4a15f9a3f49c9
drm/amdgpu: Use driver mode reset for data poison

mode-2 reset is the only reliable method that can get
GC/SDMA back when poison is consumed. mmhub requires
mode-1 reset.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c