[PATCH 0/5] Better recovery from DMUB load failures

Mario Limonciello mario.limonciello at amd.com
Fri Nov 15 06:09:19 UTC 2024


When a DMUB load failure occurs the amdgpu driver is left in a pretty
bad state because the display core thinks everything is fine.

This explodes once the core tries to do a register read which stalls.

Instead of papering over these errors return error codes up and do
the proper cleanup.
Mario Limonciello (5):
  drm/amd: Disable interrupts after amdgpu_fence_driver_hw_fini()
  drm/amd/display: Fix null pointer derference in amdgpu_dm_fini()
  drm/amd/display: Only free dm private atomic_obj if initialized
  drm/amd/display: convert all DRM_ERROR and DRM_WARN to drm_*
  drm/amd/display: Make DMUB auto-load failures fatal

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c    |   2 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 388 ++++++++++--------
 2 files changed, 217 insertions(+), 173 deletions(-)

-- 
2.43.0



More information about the amd-gfx mailing list