Quoting Laurent Pinchart (2021-06-23 17:03:02)
To simplify interfacing with the panel, wrap it in a panel-bridge and let the DRM bridge helpers handle chaining of operations.
This also prepares for support of DRM_BRIDGE_ATTACH_NO_CONNECTOR, which requires all components in the display pipeline to be represented by bridges.
Signed-off-by: Laurent Pinchart laurent.pinchart+renesas@ideasonboard.com Reviewed-by: Jagan Teki jagan@amarulasolutions.com
With this patch applied I get two eDP devices on Lazor sc7180 (it is the arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor*.dts files if you're looking for more info). As far as I can tell, we should only have one eDP device on the board, for the bridge.
localhost ~ # ls -l /sys/class/drm/card1-eDP* lrwxrwxrwx. 1 root root 0 Aug 10 22:24 /sys/class/drm/card1-eDP-1 -> ../../devices/platform/soc@0/ae00000.mdss/drm/card1/card1-eDP-1 lrwxrwxrwx. 1 root root 0 Aug 10 22:24 /sys/class/drm/card1-eDP-2 -> ../../devices/platform/soc@0/ae00000.mdss/drm/card1/card1-eDP-2