drm/amdgpu: report bad status in GPU recovery
authorTao Zhou <tao.zhou1@amd.com>
Wed, 31 Jul 2024 07:54:27 +0000 (15:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2024 15:11:02 +0000 (11:11 -0400)
commitb3a3c9a6b27b68310f1d4d486f47556808c7c855
treeb6ea49b67b1a82481bd1e371ebac81081672904b
parentdd3e296289346109d41c6317124f51aee0269c25
drm/amdgpu: report bad status in GPU recovery

Instead of printing GPU reset failed.

v2: add check for reset_context->src.

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