]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/atomic-helper: improve CRTC enabled/connectors mismatch logging message
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Tue, 4 Feb 2025 08:51:59 +0000 (09:51 +0100)
committerLouis Chauvet <louis.chauvet@bootlin.com>
Tue, 4 Feb 2025 13:11:15 +0000 (14:11 +0100)
commit51d262a96bc6c87f5dababf5136c978afa59f28e
tree9ecbd0ca24a6a21cb9b7b97baeaff5e0cc61259d
parentf269e5eac4dbf55d89409257ec794c9c3c51e515
drm/atomic-helper: improve CRTC enabled/connectors mismatch logging message

This message reports a mismatch between new_crtc_state->enable and
has_connectors, which should be either both true or both false. However it
does not mention which one is true and which is false, which can be useful
for debugging. Add the value of both avriables to the log message.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Louis Chauvet <louis.chauvet@bootlin.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250204-drm-small-improvements-v4-2-d6bbc92f12f1@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
drivers/gpu/drm/drm_atomic_helper.c