OSDN Git Service

drm/vc4: crtc: Add some logging
authorMaxime Ripard <maxime@cerno.tech>
Mon, 25 Oct 2021 15:28:59 +0000 (17:28 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 4 Nov 2021 09:36:25 +0000 (10:36 +0100)
commite1a7094b58c0d9123c9e80fa56d68cc7222ad6c4
treec3a7a4cf50e246302f94f398a763deba7644ce16
parent94c1adc4c1241d1cc4cf29e3da15a65ad04171c4
drm/vc4: crtc: Add some logging

The encoder retrieval code has been a source of bugs and glitches in the
past and the crtc <-> encoder association been wrong in a number of
different ways.

Add some logging to quickly spot issues if they occur.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20211025152903.1088803-7-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c