diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2024-03-13 15:07:10 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-20 13:37:38 -0400 |
commit | dfe9c3cde22957f65476210aec48e3586983d927 (patch) | |
tree | 41042506eb665a6032e9b8d5819d3146d9ac97eb /drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c | |
parent | f1b8479dc997a0e625f3d94920cd778f55e299b5 (diff) |
drm/amdgpu: Do a basic health check before reset
Check if the device is present in the bus before trying to recover. It
could be that device itself is lost from the bus in some hang
situations.
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c')
0 files changed, 0 insertions, 0 deletions