drm/amdgpu: exit directly if gpu reset fails
authorTao Zhou <tao.zhou1@amd.com>
Wed, 27 Sep 2023 09:59:59 +0000 (17:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2023 19:44:36 +0000 (15:44 -0400)
commit1934907234c86514475b00c8169e7b56ef29ed52
treeef78396a2bdd0faf86fa9ab11f628f6bea445c13
parentb57c4f1c3ba52467db6cc6dfbbb217348fd2c288
drm/amdgpu: exit directly if gpu reset fails

No need to perform the full reset operation in case of gpu reset
failure.

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