linux_dsm_epyc7002/drivers/gpu/drm/mxsfb
Guido Günther b6fba53d44 drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge
[ Upstream commit ee46d16d2e40bebc2aa790fd7b6a056466ff895c ]

It can take multiple iterations until all components for an attached DSI
bridge are up leading to several:

[    3.796425] mxsfb 30320000.lcd-controller: Cannot connect bridge: -517
[    3.816952] mxsfb 30320000.lcd-controller: [drm:mxsfb_probe [mxsfb]] *ERROR* failed to attach bridge: -517

Silence this by checking for -EPROBE_DEFER and using dev_err_probe() so
we set a deferred reason in case a dependency fails to probe (which
quickly happens on small config/DT changes due to the rather long probe
chain which can include bridges, phys, panels, backights, leds, etc.).

This also removes the only DRM_DEV_ERROR() usage, the rest of the driver
uses dev_err().

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Fixes: c42001e357 ("drm: mxsfb: Use drm_panel_bridge")
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/d5761eb871adde5464ba112b89d966568bc2ff6c.1608020391.git.agx@sigxcpu.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:53 +01:00
..
Kconfig drm: mxsfb: Add i.MX7 and i.MX8M to the list of supported SoCs in Kconfig 2020-07-28 17:21:33 +02:00
Makefile drm: mxsfb: Rename mxsfb_crtc.c to mxsfb_kms.c 2020-07-28 17:21:01 +02:00
mxsfb_drv.c drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge 2020-12-30 11:53:53 +01:00
mxsfb_drv.h drm: mxsfb: Support the alpha plane 2020-07-28 17:21:58 +02:00
mxsfb_kms.c drm: mxsfb: Implement .format_mod_supported 2020-11-26 13:30:57 +01:00
mxsfb_regs.h drm: mxsfb: Support the alpha plane 2020-07-28 17:21:58 +02:00