diff options
author | =?utf-8?q?Michel_D=C3=A4nzer?= <michel@tungstengraphics.com> | 2006-10-24 08:24:38 -0400 |
---|---|---|
committer | airlied <airlied@linux.ie> | 2006-12-06 23:53:28 -0500 |
commit | 776c9443e28dddbde9b513db6cb8221c45b3a269 (patch) | |
tree | 41b753829e949371ee01d2930f5be1185f29b737 /drivers/char/drm/drm.h | |
parent | 620034c84d1d939717bdfbe02c51a3fee43541c3 (diff) |
drm: add support for secondary vertical blank interrupt to DRM core
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm.h')
-rw-r--r-- | drivers/char/drm/drm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/drm/drm.h b/drivers/char/drm/drm.h index 5642ac43e0f5..077d0b1914ab 100644 --- a/drivers/char/drm/drm.h +++ b/drivers/char/drm/drm.h | |||
@@ -465,10 +465,12 @@ typedef struct drm_irq_busid { | |||
465 | typedef enum { | 465 | typedef enum { |
466 | _DRM_VBLANK_ABSOLUTE = 0x0, /**< Wait for specific vblank sequence number */ | 466 | _DRM_VBLANK_ABSOLUTE = 0x0, /**< Wait for specific vblank sequence number */ |
467 | _DRM_VBLANK_RELATIVE = 0x1, /**< Wait for given number of vblanks */ | 467 | _DRM_VBLANK_RELATIVE = 0x1, /**< Wait for given number of vblanks */ |
468 | _DRM_VBLANK_SECONDARY = 0x20000000, /**< Secondary display controller */ | ||
468 | _DRM_VBLANK_SIGNAL = 0x40000000 /**< Send signal instead of blocking */ | 469 | _DRM_VBLANK_SIGNAL = 0x40000000 /**< Send signal instead of blocking */ |
469 | } drm_vblank_seq_type_t; | 470 | } drm_vblank_seq_type_t; |
470 | 471 | ||
471 | #define _DRM_VBLANK_FLAGS_MASK _DRM_VBLANK_SIGNAL | 472 | #define _DRM_VBLANK_TYPES_MASK (_DRM_VBLANK_ABSOLUTE | _DRM_VBLANK_RELATIVE) |
473 | #define _DRM_VBLANK_FLAGS_MASK (_DRM_VBLANK_SIGNAL | _DRM_VBLANK_SECONDARY) | ||
472 | 474 | ||
473 | struct drm_wait_vblank_request { | 475 | struct drm_wait_vblank_request { |
474 | drm_vblank_seq_type_t type; | 476 | drm_vblank_seq_type_t type; |