drm/i915: Handle -EDEADLK in drm_atomic_commit from load-detect.
Subsystems (2)
PATCH 1/1 drm/i915: Handle -EDEADLK in drm_atomic_commit from load-detect.
CI runs with DEBUG_WW_MUTEX_SLOWPATH, so -EDEADLK occurs a lot more. Handle the case where drm_atomic_commit fails with -EDEADLK correctly.
Signed-off-by Maarten Lankhorst <[email protected]>
---
drivers/gpu/drm/i915/intel_display.c +2 -1
@@ -10557,7 +10557,8 @@ found: goto fail; } -if (drm_atomic_commit (state)) { + ret =drm_atomic_commit (state); +if (ret) {DRM_DEBUG_KMS ("failed to set mode on load-detect pipe\n" ); goto fail; }
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 4 lines · Maarten Lankhorst
CI runs with
DEBUG_WW_MUTEX_SLOWPATH, so-EDEADLKoccurs a lot more. Handle the case wheredrm_atomic_commitfails with-EDEADLKcorrectly.Signed-off-by Maarten Lankhorst <[email protected]>
Reviewed-by Ville Syrjälä <[email protected]>
Quoted 20 lines
---
drivers/gpu/drm/i915/intel_display.c +2
-1@@ -10557,7 +10557,8 @@ found: goto fail; } -if (drm_atomic_commit (state)) { + ret =drm_atomic_commit (state); +if (ret) {DRM_DEBUG_KMS ("failed to set mode on load-detect pipe\n" ); goto fail; }_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx