summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-08-11 17:57:59 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-09-29 12:55:08 +0200
commit2735f9e2908b786586d18f6384371b991bdce430 (patch)
tree7d2c2f65e3a807e9f4a046f7d7786f1a280403ab /shared-core
parentae96e264198323916ee58e293468c9b924feca75 (diff)
Add support for secondary vertical blank interrupt to DRM core.
(cherry picked from ab351505f36a6c66405ea7604378268848340a42 commit)
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 095823b7..c2bcf62c 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -536,10 +536,12 @@ typedef struct drm_irq_busid {
typedef enum {
_DRM_VBLANK_ABSOLUTE = 0x0, /**< Wait for specific vblank sequence number */
_DRM_VBLANK_RELATIVE = 0x1, /**< Wait for given number of vblanks */
+ _DRM_VBLANK_SECONDARY = 0x20000000, /**< Secondary display controller */
_DRM_VBLANK_SIGNAL = 0x40000000 /**< Send signal instead of blocking */
} drm_vblank_seq_type_t;
-#define _DRM_VBLANK_FLAGS_MASK _DRM_VBLANK_SIGNAL
+#define _DRM_VBLANK_TYPES_MASK (_DRM_VBLANK_ABSOLUTE | _DRM_VBLANK_RELATIVE)
+#define _DRM_VBLANK_FLAGS_MASK (_DRM_VBLANK_SIGNAL | _DRM_VBLANK_SECONDARY)
struct drm_wait_vblank_request {
drm_vblank_seq_type_t type;