aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/drmP.h')
-rw-r--r--drivers/char/drm/drmP.h3
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);
967extern int drm_vblank_wait(drm_device_t * dev, unsigned int *vbl_seq); 969extern int drm_vblank_wait(drm_device_t * dev, unsigned int *vbl_seq);
968extern void drm_vbl_send_signals(drm_device_t * dev); 970extern void drm_vbl_send_signals(drm_device_t * dev);
971extern 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) */
971extern drm_agp_head_t *drm_agp_init(drm_device_t * dev); 974extern drm_agp_head_t *drm_agp_init(drm_device_t * dev);