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)
commit49f98bc4d44a4ee507737f8d5531d05539787319
treef450326225bb4215a191bf10170cbbbae8b87b04
parente41c5c2411bca56775663a4153e0c00ea8c8f130
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