[PATCH] drm/rockchip: get rid of rockchip_drm_crtc_mode_config

Mark yao mark.yao at rock-chips.com
Mon Apr 18 02:54:09 PDT 2016


On 2016年04月18日 17:25, John Keeping wrote:
>> >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
>> >at encoder mode_fixup, then we can configure the type and mode safely
>> >on crtc mode_set.
> Since Rockchip is atomic, shouldn't this be using atomic_check hooks and
> a subclassed crtc_state structure?
>

Right, Good idea.

Thanks.

-- 
Mark Yao





More information about the Linux-rockchip mailing list