drm: rcar-du: Use dev_err_probe() to record cause of KMS init errors
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 30 May 2023 09:19:58 +0000 (12:19 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 14 Aug 2023 10:47:29 +0000 (13:47 +0300)
commitf3651bc0b7fc4361a351fd01d99ba739f67769e4
tree0c0b3bca08ac8a2f8295bfe1e5889d8ee1c445d3
parentc58dcab081b270c8b56d10de72b859728d237dd1
drm: rcar-du: Use dev_err_probe() to record cause of KMS init errors

The (large) rcar_du_modeset_init() function can fail for many reasons,
two of two involving probe deferral. Use dev_err_probe() in those code
paths to record the cause of the probe deferral, in order to help
debugging probe issues.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c
drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c