]> 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)
commit1b5fa4ab715a7a619a7c8120b940c874af21767b
treee2b945dda5a2851b2f5284d802b31103d942b1b8
parent2ca870f360cf050a98ad21fe8d802a1a47dde60a
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