diff options
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r-- | drivers/char/drm/drmP.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/drm/drmP.h b/drivers/char/drm/drmP.h index 01e1f2528659..2f18329c5eb8 100644 --- a/drivers/char/drm/drmP.h +++ b/drivers/char/drm/drmP.h | |||
@@ -715,6 +715,8 @@ typedef struct drm_device { | |||
715 | drm_vbl_sig_t vbl_sigs; /**< signal list to send on VBLANK */ | 715 | drm_vbl_sig_t vbl_sigs; /**< signal list to send on VBLANK */ |
716 | drm_vbl_sig_t vbl_sigs2; /**< signals to send on secondary VBLANK */ | 716 | drm_vbl_sig_t vbl_sigs2; /**< signals to send on secondary VBLANK */ |
717 | unsigned int vbl_pending; | 717 | unsigned int vbl_pending; |
718 | spinlock_t tasklet_lock; /**< For drm_locked_tasklet */ | ||
719 | void (*locked_tasklet_func)(struct drm_device *dev); | ||
718 | 720 | ||
719 | /*@} */ | 721 | /*@} */ |
720 | cycles_t ctx_start; | 722 | cycles_t ctx_start; |
@@ -966,6 +968,7 @@ extern int drm_wait_vblank(struct inode *inode, struct file *filp, | |||
966 | unsigned int cmd, unsigned long arg); | 968 | unsigned int cmd, unsigned long arg); |
967 | extern int drm_vblank_wait(drm_device_t * dev, unsigned int *vbl_seq); | 969 | extern int drm_vblank_wait(drm_device_t * dev, unsigned int *vbl_seq); |
968 | extern void drm_vbl_send_signals(drm_device_t * dev); | 970 | extern void drm_vbl_send_signals(drm_device_t * dev); |
971 | extern void drm_locked_tasklet(drm_device_t *dev, void(*func)(drm_device_t*)); | ||
969 | 972 | ||
970 | /* AGP/GART support (drm_agpsupport.h) */ | 973 | /* AGP/GART support (drm_agpsupport.h) */ |
971 | extern drm_agp_head_t *drm_agp_init(drm_device_t * dev); | 974 | extern drm_agp_head_t *drm_agp_init(drm_device_t * dev); |