diff mbox

libdrm: vblank wait on crtc > 1

Message ID Pine.GSO.4.62.1103181634110.22964@umail (mailing list archive)
State New, archived
Headers show

Commit Message

Ilija Hadzic March 18, 2011, 9:58 p.m. UTC
None
diff mbox

Patch

diff --git a/include/drm/drm.h b/include/drm/drm.h
index 416673a..10afaf1 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -755,6 +755,7 @@  struct drm_event_vblank {
  };

  #define DRM_CAP_DUMB_BUFFER 0x1
+#define DRM_CAP_HIGH_CRTC   0x2

  /* typedef area */
  typedef struct drm_clip_rect drm_clip_rect_t;
diff --git a/xf86drm.h b/xf86drm.h
index bf0d5df..e2bea06 100644
--- a/xf86drm.h
+++ b/xf86drm.h
@@ -302,6 +302,8 @@  typedef enum {
      DRM_VBLANK_SECONDARY = 0x20000000,	/**< Secondary display controller */
      DRM_VBLANK_SIGNAL   = 0x40000000	/* Send signal instead of blocking */
  } drmVBlankSeqType;
+#define DRM_VBLANK_HIGH_CRTC_SHIFT 16
+#define DRM_VBLANK_HIGH_CRTC_MASK 0x001F0000

  typedef struct _drmVBlankReq {
  	drmVBlankSeqType type;