drm: rcar-du: Skip LVDS1 output on Gen3 when using dual-link LVDS mode
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 4 Mar 2019 22:10:28 +0000 (00:10 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 7 Jun 2019 23:36:04 +0000 (02:36 +0300)
commit8e8fddab0d0acdefb1ad76852d954b2bbaa3896d
tree32a59ff7187d1e53ae0f55339a5164383ebee646
parentfa440d870358fd01eeedd212a1ad918a3b2771d5
drm: rcar-du: Skip LVDS1 output on Gen3 when using dual-link LVDS mode

In dual-link LVDS mode, the LVDS1 encoder is used as a companion for
LVDS0, and both encoders transmit data from DU0. The LVDS1 output of DU1
can't be used in that case, don't create an encoder and connector for
it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_encoder.c
drivers/gpu/drm/rcar-du/rcar_du_kms.c