diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-02-25 18:25:47 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-02-25 18:25:47 +0000 |
commit | 12840cf0056fa062ed952cfd8b488c70eeeb00b8 (patch) | |
tree | 490590ffbdf2410e609e5f28fd3e40fd27533dd6 /sys/dev/drm/drmP.h | |
parent | 577eb25e17bff022fafedf2009f10bfb3eaff339 (diff) | |
download | FreeBSD-src-12840cf0056fa062ed952cfd8b488c70eeeb00b8.zip FreeBSD-src-12840cf0056fa062ed952cfd8b488c70eeeb00b8.tar.gz |
The i915 driver was the only consumer of locked task support.
Now that it doesn't use it anymore, get right of the taskqueue
and locked task support.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/drm/drmP.h')
-rw-r--r-- | sys/dev/drm/drmP.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h index acdb0ae..c15b1f2 100644 --- a/sys/dev/drm/drmP.h +++ b/sys/dev/drm/drmP.h @@ -63,7 +63,6 @@ struct drm_file; #include <sys/signalvar.h> #include <sys/poll.h> #include <sys/tree.h> -#include <sys/taskqueue.h> #include <vm/vm.h> #include <vm/pmap.h> #include <vm/vm_extern.h> @@ -628,7 +627,6 @@ struct drm_device { struct mtx irq_lock; /* protects irq condition checks */ struct mtx dev_lock; /* protects everything else */ DRM_SPINTYPE drw_lock; - DRM_SPINTYPE tsk_lock; /* Usage Counters */ int open_count; /* Outstanding files open */ @@ -695,9 +693,6 @@ struct drm_device { struct unrhdr *drw_unrhdr; /* RB tree of drawable infos */ RB_HEAD(drawable_tree, bsd_drm_drawable_info) drw_head; - - struct task locked_task; - void (*locked_task_call)(struct drm_device *dev); }; static __inline__ int drm_core_check_feature(struct drm_device *dev, @@ -918,8 +913,6 @@ int drm_control(struct drm_device *dev, void *data, struct drm_file *file_priv); int drm_wait_vblank(struct drm_device *dev, void *data, struct drm_file *file_priv); -void drm_locked_tasklet(struct drm_device *dev, - void (*tasklet)(struct drm_device *dev)); /* AGP/GART support (drm_agpsupport.c) */ int drm_agp_acquire_ioctl(struct drm_device *dev, void *data, |