]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: get rid of rockchip_drm_crtc_mode_config
authorMark Yao <mark.yao@rock-chips.com>
Wed, 20 Apr 2016 02:41:42 +0000 (10:41 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Tue, 3 May 2016 06:11:23 +0000 (14:11 +0800)
commit2f303b72ab36576ebee97adb78be3a8a5126c031
treef0e468f54da21d6f0561ca5313d5d73fbc773d91
parentf055b69f8a43e2ef6d69f4d112a2aad29c4d1cf6
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 output_type and output_mode into rockchip_crtc_state,
it's nice to make them into atomic.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Tested-by: John Keeping <john@metanate.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/inno_hdmi.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.h
drivers/gpu/drm/rockchip/rockchip_drm_vop.c