This change allows usage of the new page_flip_target hook for
drivers implementing the atomic path.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky at amd.com>
Reviewed-by: Harry Wentland <harry.wentland at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
---
 include/drm/drm_crtc.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 946672f..3a7685f 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -156,6 +156,9 @@ struct drm_crtc_state {
        struct drm_property_blob *ctm;
        struct drm_property_blob *gamma_lut;

+       /* target vblank count to do a flip */
+       u32 target_vblank;
+
        /**
         * @event:
         *
-- 
1.9.1

Reply via email to