On 11/15/2024 00:09, Mario Limonciello wrote:
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(-)
Ping on this series.