mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
drm/rockchip: enable async page flip configure
We support page flip through the drm atomic helper function. But if we don't enable it the userspace won't know this driver has such a capability. Change-Id: If3689a526ea95235d191c0bbeba89745ae70d9c7 Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
@@ -190,6 +190,7 @@ void rockchip_drm_mode_config_init(struct drm_device *dev)
|
||||
*/
|
||||
dev->mode_config.max_width = 4096;
|
||||
dev->mode_config.max_height = 4096;
|
||||
dev->mode_config.async_page_flip = true;
|
||||
|
||||
dev->mode_config.funcs = &rockchip_drm_mode_config_funcs;
|
||||
dev->mode_config.helper_private = &rockchip_mode_config_helpers;
|
||||
|
||||
Reference in New Issue
Block a user