drm: Add DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags v2
authorMichel Dänzer <michel.daenzer@amd.com>
Mon, 8 Aug 2016 07:23:39 +0000 (16:23 +0900)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Aug 2016 18:28:09 +0000 (14:28 -0400)
commitf837297ad82480024d3ad08cd84f6670bcafa862
tree42aca44491b3f0ea57170b0290eb382a51fc8c7c
parent5dd20bbae8a39100e1cf4a7fcc8ecd598c09d992
drm: Add DRM_MODE_PAGE_FLIP_TARGET_ABSOLUTE/RELATIVE flags v2

These flags allow userspace to explicitly specify the target vertical
blank period when a flip should take effect.

v2:
* Add new struct drm_mode_crtc_page_flip_target instead of modifying
  struct drm_mode_crtc_page_flip, to make sure all existing userspace
  code keeps compiling (Daniel Vetter)

Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_ioctl.c
include/uapi/drm/drm.h
include/uapi/drm/drm_mode.h