[RFC PATCH 3/4] drm/doc: document PAGE_FLIP_EVENT | PAGE_FLIP_ASYNC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Explain what the event looks like when both flags are specified.

Signed-off-by: Simon Ser <contact@xxxxxxxxxxx>
Cc: Pekka Paalanen <pekka.paalanen@xxxxxxxxxxxxx>
Cc: Daniel Vetter <daniel.vetter@xxxxxxxx>
Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
Cc: Lyude Paul <lyude@xxxxxxxxxx>
Cc: Christian König <ckoenig.leichtzumerken@xxxxxxxxx>
---

Driver developers: please confirm or deny this documentation. I'm just
guessing here.

 include/uapi/drm/drm_mode.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index c32b171c0ba7..cb4bbfe15d3a 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -950,6 +950,9 @@ struct hdr_output_metadata {
  * When used with the atomic uAPI, vblank events will be sent for every CRTC
  * included in the commit. At least one CRTC must be included, and all included
  * CRTCs must be turned on.
+ *
+ * When used with &DRM_MODE_PAGE_FLIP_ASYNC, the page-flip event will have the
+ * same timings and sequence number as the previous effective page-flip.
  */
 #define DRM_MODE_PAGE_FLIP_EVENT 0x01
 /**
-- 
2.41.0






[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux