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)
commit206c54710882d85b838f1899fd58adf8bad9454c
treeb49ff6693095f709733f901ecac8349e523ad31b
parent187502afe87a0fc96832056558978fa423920ee0
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