]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: store internal bus configuration in crtc state
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 6 Jul 2016 12:49:24 +0000 (14:49 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 12 Jul 2016 16:24:28 +0000 (18:24 +0200)
commitcab0acafd8abea0dc3ea7dc314e4df0a3c7f05c5
treef450326225bb4215a191bf10170cbbbae8b87b04
parent91e947662d4092a2d9809da9aac54d4ea38df0bd
drm/imx: store internal bus configuration in crtc state

The internal bus configuration is imx-drm specific crtc state. Store it
in imx_crtc_state and let the encoder atomic_check callbacks determine
bus_flags, bus_format and the sync pins, possibly taking into account
the mode and the connector display info.
The custom imx_drm_encoder structure can be replaced again with
drm_encoder.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/dw_hdmi-imx.c
drivers/gpu/drm/imx/imx-drm.h
drivers/gpu/drm/imx/imx-ldb.c
drivers/gpu/drm/imx/imx-tve.c
drivers/gpu/drm/imx/ipuv3-crtc.c
drivers/gpu/drm/imx/parallel-display.c