Skip to content

Commit fda925c

Browse files
Randy Lirkhuangtao
authored andcommitted
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>
1 parent 911b15f commit fda925c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/gpu/drm/rockchip/rockchip_drm_fb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ void rockchip_drm_mode_config_init(struct drm_device *dev)
402402
*/
403403
dev->mode_config.max_width = 8192;
404404
dev->mode_config.max_height = 8192;
405+
dev->mode_config.async_page_flip = true;
405406

406407
dev->mode_config.funcs = &rockchip_drm_mode_config_funcs;
407408
}

0 commit comments

Comments
 (0)