aboutsummaryrefslogtreecommitdiff
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-28 15:41:35 +0200
commitab351505f36a6c66405ea7604378268848340a42 (patch)
tree0f643e9dba626de3841e14ef4bf960c284fe5536 /shared-core
parent62f6ea225615392098dedee47d4ccdd69e126a43 (diff)
Add support for secondary vertical blank interrupt to DRM core.
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 87f8da6b..eaeb21e4 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -529,10 +529,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;