diff options
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 44e070800b6d..3c90563e1a54 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -581,6 +581,24 @@ struct drm_crtc_funcs { | |||
581 | uint32_t flags); | 581 | uint32_t flags); |
582 | 582 | ||
583 | /** | 583 | /** |
584 | * @page_flip_target: | ||
585 | * | ||
586 | * Same as @page_flip but with an additional parameter specifying the | ||
587 | * absolute target vertical blank period (as reported by | ||
588 | * drm_crtc_vblank_count()) when the flip should take effect. | ||
589 | * | ||
590 | * Note that the core code calls drm_crtc_vblank_get before this entry | ||
591 | * point, and will call drm_crtc_vblank_put if this entry point returns | ||
592 | * any non-0 error code. It's the driver's responsibility to call | ||
593 | * drm_crtc_vblank_put after this entry point returns 0, typically when | ||
594 | * the flip completes. | ||
595 | */ | ||
596 | int (*page_flip_target)(struct drm_crtc *crtc, | ||
597 | struct drm_framebuffer *fb, | ||
598 | struct drm_pending_vblank_event *event, | ||
599 | uint32_t flags, uint32_t target); | ||
600 | |||
601 | /** | ||
584 | * @set_property: | 602 | * @set_property: |
585 | * | 603 | * |
586 | * This is the legacy entry point to update a property attached to the | 604 | * This is the legacy entry point to update a property attached to the |