]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Improve kernel log messages when initializing encoders
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 21 Aug 2021 23:44:27 +0000 (02:44 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 7 Oct 2021 02:42:04 +0000 (05:42 +0300)
commitd452a6ec6309d101060d4e81ad8bd0458b03f7ed
treeb49ff6693095f709733f901ecac8349e523ad31b
parentf3b06060e8307a0c9a508471238a7c7f2d95550d
drm: rcar-du: Improve kernel log messages when initializing encoders

Improve the debugging and error messages printing when initializing
encoders by replacing the output number by the output name, printing the
bridge OF node name, and the error code of failed operations.

While at it, move the related rcar_du_output enumeration from
rcar_du_crtc.h to rcar_du_drv.h as it's not specific to the CRTC.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.h
drivers/gpu/drm/rcar-du/rcar_du_drv.c
drivers/gpu/drm/rcar-du/rcar_du_drv.h
drivers/gpu/drm/rcar-du/rcar_du_encoder.c
drivers/gpu/drm/rcar-du/rcar_du_kms.c