DRM: i.MX: parallel display: Support probe deferral for finding DRM panel
Subsystems (3)
PATCH 1/1 DRM: i.MX: parallel display: Support probe deferral for finding DRM panel
Signed-off-by Liu Ying <[email protected]>
--- drivers/gpu/drm/imx/parallel-display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/imx/parallel-display.c +4 -1
@@ -236,8 +236,11 @@ static int imx_pd_bind(struct device *dev, struct device *master, void *data) } panel_node =of_parse_phandle (np,"fsl,panel" ,0 ); -if (panel_node) +if (panel_node) { imxpd->panel =of_drm_find_panel (panel_node); +if (!imxpd->panel) +return -EPROBE_DEFER ; + } imxpd->dev = dev;
Signature · 6 lines
2.1.0 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Am Montag, den 23.02.2015, 11:09 +0800 schrieb Liu Ying:
Quoted 1 line
Signed-off-by Liu Ying <[email protected]>
thank you for the patch. I've applied it to my branch.
drivers/gpu/drm/imx/parallel-display.c static int imx_pd_bind(struct device *dev, struct device *master, void *data) · line 238
Quoted 12 lines
--- drivers/gpu/drm/imx/parallel-display.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)drivers/gpu/drm/imx/parallel-display.c +0
-0@@ -236,8 +236,11 @@ static int imx_pd_bind(struct device *dev, struct device *master, void *data) } panel_node =of_parse_phandle (np,"fsl,panel" ,0 );
This property is not documented anywhere and I'd like to get rid of this in the future. This should be replaced with of graph endpoint links.
regards
Philipp
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel