[PATCH/RFC 07/12] drm: rcar-du: lvds: Add support for dual link panels
Fabrizio Castro
fabrizio.castro at bp.renesas.com
Fri Aug 2 07:34:04 UTC 2019
If the display comes with two ports, assume it supports dual
link.
Signed-off-by: Fabrizio Castro <fabrizio.castro at bp.renesas.com>
---
drivers/gpu/drm/rcar-du/rcar_lvds.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/rcar-du/rcar_lvds.c b/drivers/gpu/drm/rcar-du/rcar_lvds.c
index 2d54ae5..97c51c2 100644
--- a/drivers/gpu/drm/rcar-du/rcar_lvds.c
+++ b/drivers/gpu/drm/rcar-du/rcar_lvds.c
@@ -751,6 +751,9 @@ static int rcar_lvds_parse_dt(struct rcar_lvds *lvds)
ret = -EPROBE_DEFER;
goto done;
}
+ if (lvds->info->quirks & RCAR_LVDS_QUIRK_DUAL_LINK)
+ lvds->dual_link = of_graph_get_endpoint_count(remote)
+ == 2;
}
if (lvds->dual_link) {
--
2.7.4
More information about the dri-devel
mailing list