]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: tcon: Get the connector from the encoder in RGB setup
authorPaul Kocialkowski <contact@paulk.fr>
Wed, 7 Nov 2018 18:18:37 +0000 (19:18 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Fri, 9 Nov 2018 07:31:25 +0000 (08:31 +0100)
commitac24c14d1505414d727c08356f9587ec01eb064e
treee2b945dda5a2851b2f5284d802b31103d942b1b8
parent79e68df21cde733659a60e44dda8f39731681ca9
drm/sun4i: tcon: Get the connector from the encoder in RGB setup

Features such as dithering and pixel data edge configuration currently
rely on the panel registered with the TCON driver. However, bridges are
also supported in addition to panels for RGB setup.

Instead of retrieving the connector from the panel, get it from the
encoder with the dedicated helper.

Even in the case of bridges, the connector is registered with the
encoder from our driver and is accessible when iterating connectors.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181107181843.27628-3-contact@paulk.fr
drivers/gpu/drm/sun4i/sun4i_tcon.c