[PATCH v3 11/24] drm/sun4i: Don't check for LVDS and RGB when TCON has only ch1
Chen-Yu Tsai
wens at csie.org
Thu Jun 28 02:08:51 UTC 2018
On Mon, Jun 25, 2018 at 8:02 PM, Jernej Skrabec <jernej.skrabec at siol.net> wrote:
> LVDS and RGB interfaces are always connected to TCONs which have channel
> 0. It doesn't make sense to try to init them on TV TCONs.
>
> Add a check if TCON has channel 0 before trying to init LVDS or RGB
> interface.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec at siol.net>
Reviewed-by: Chen-Yu Tsai <wens at csie.org>
Though I think at some point we could just have separate functions
to handle channel 0 and channel 1.
ChenYu
More information about the dri-devel
mailing list