OSDN Git Service

drm/sun4i: Move panel retrieval in RGB connector
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 20 Jul 2016 08:35:06 +0000 (10:35 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 22 Aug 2016 13:34:16 +0000 (15:34 +0200)
commita8444c7ee2c02b567731a6edcd5d328f85aac1b1
tree955b9c4e23adc51d594223e8b1a62c46351d23dc
parentae558110e51737b3596f400505ee598acbbf6713
drm/sun4i: Move panel retrieval in RGB connector

In order to properly support bridges and use drm_encoder's bridge pointer,
move the panel (and bridge eventually) retrieval code in the RGB output
init function.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/gpu/drm/sun4i/sun4i_rgb.c
drivers/gpu/drm/sun4i/sun4i_tcon.c
drivers/gpu/drm/sun4i/sun4i_tcon.h