mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 08:46:43 +07:00
drm: rcar-du: Print the error value when DRM/KMS init fails
This helps debugging probe failures. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
This commit is contained in:
parent
284b2884a9
commit
6e0c6e1895
@ -190,7 +190,7 @@ static int rcar_du_load(struct drm_device *dev, unsigned long flags)
|
|||||||
/* DRM/KMS objects */
|
/* DRM/KMS objects */
|
||||||
ret = rcar_du_modeset_init(rcdu);
|
ret = rcar_du_modeset_init(rcdu);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
dev_err(&pdev->dev, "failed to initialize DRM/KMS\n");
|
dev_err(&pdev->dev, "failed to initialize DRM/KMS (%d)\n", ret);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user