Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6ac7c548 authored by Russell King's avatar Russell King Committed by Daniel Vetter
Browse files

drm: ensure atomic messages consistently include the name of the component



Most DRM messages include three pieces of information: the type of the
component (CRTC, ENCODER, CONNECTOR etc), the DRM object ID of the
component, and the component name.  However, there are some messages
which omit the last piece of identifying information.  This makes it
harder to debug failures when these messages are printed, because the
DRM object ID doesn't supply enough information to know which piece of
hardware had a problem.

Update the atomic modeset code to always print the component name along
with the type and DRM object ID.

Fixes: 4cba6850 ("drm/atomic-helper: Reject legacy flips on a disabled pipe")
Fixes: 8d4d0d70 ("drm/atomic-helper: Print an error if vblank wait times out")
Fixes: 5481c8fb ("drm/atomic-helper: Check encoder/crtc constraints")
Fixes: 99cf4a29 ("drm/atomic: Add current-mode blob to CRTC state")
Fixes: cc4ceb48 ("drm: Global atomic state handling")
Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: default avatarThierry Reding <treding@nvidia.com>
[danvet: Wiggle in conflicting hunk.]
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent cd57b48a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment