drm/rockchip: get rid of rockchip_drm_crtc_mode_config
authorMark Yao <mark.yao@rock-chips.com>
Mon, 21 Mar 2016 13:14:32 +0000 (21:14 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 30 Mar 2016 07:24:12 +0000 (15:24 +0800)
commitf9310d0ab8e05dadedd7b8224d51cbae87a75205
tree84fd51f8d00c63298899eb4e33608a1b37b8f80c
parentfb8302a25224cb12398b77c88100b9806a678a77
drm/rockchip: get rid of rockchip_drm_crtc_mode_config

We need to take care of the vop status when use rockchip_drm_crtc_mode_config,
if vop is disabled, the function would failed, that is terrible.

Save connector type and output mode on drm_display_mode->private_flags on
connector mode_fixup, then we can configure the type and mode safely
on crtc mode_set.

Change-Id: I129cf8a2f100fc19fe96f1d8985e905bea477e28
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.h
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
drivers/gpu/drm/rockchip/rockchip_drm_vop.h