diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-06-15 11:01:51 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-06-15 11:01:51 +0200 |
commit | 0f5334be2bc6ceca971a7a6ab3ca1c23a707867c (patch) | |
tree | 8eebeda5426e37a058f2460818e556d5a212216c /linux-core/drmP.h | |
parent | fbee089aca727c92e0aa5d7a2ae7a8c5cf9c3076 (diff) |
Remove DRIVER_IRQ_VBL(2).
If the driver doesn't support vertical blank interrupts, it won't call
drm_vblank_init(), and dev->num_crtcs will be 0.
Also fix an off-by-one test against dev->num_crtcs.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 5bc8a6c7..cf1c0fd7 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -100,10 +100,8 @@ #define DRIVER_HAVE_DMA 0x20 #define DRIVER_HAVE_IRQ 0x40 #define DRIVER_IRQ_SHARED 0x80 -#define DRIVER_IRQ_VBL 0x100 -#define DRIVER_DMA_QUEUE 0x200 -#define DRIVER_FB_DMA 0x400 -#define DRIVER_IRQ_VBL2 0x800 +#define DRIVER_DMA_QUEUE 0x100 +#define DRIVER_FB_DMA 0x200 /*@}*/ |