]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdgpu: Use reset recovery state checks
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 15 Nov 2024 06:05:50 +0000 (11:35 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Nov 2024 15:03:05 +0000 (10:03 -0500)
commite283f4fb0862647f4bb02e78d728bc8fb9eef18d
treee132a6bbda82d954a1952e3d88c8c06da6ba4bca
parenta86e0c0e94373aebc39c2efedaefc408f6a49fe3
drm/amdgpu: Use reset recovery state checks

Some in_reset checks are infact checking whether the state is
reinitialization after reset. Replace with reset_in_recovery calls to
identify that it's really checking for recovery stage after reset.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c