summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_lock.c
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-02-25 18:25:47 +0000
committerrnoland <rnoland@FreeBSD.org>2009-02-25 18:25:47 +0000
commit12840cf0056fa062ed952cfd8b488c70eeeb00b8 (patch)
tree490590ffbdf2410e609e5f28fd3e40fd27533dd6 /sys/dev/drm/drm_lock.c
parent577eb25e17bff022fafedf2009f10bfb3eaff339 (diff)
downloadFreeBSD-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/drm_lock.c')
-rw-r--r--sys/dev/drm/drm_lock.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/drm/drm_lock.c b/sys/dev/drm/drm_lock.c
index 2da7a75..bb8a834 100644
--- a/sys/dev/drm/drm_lock.c
+++ b/sys/dev/drm/drm_lock.c
@@ -115,13 +115,6 @@ int drm_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv)
return EINVAL;
}
- DRM_SPINLOCK(&dev->tsk_lock);
- if (dev->locked_task_call != NULL) {
- dev->locked_task_call(dev);
- dev->locked_task_call = NULL;
- }
- DRM_SPINUNLOCK(&dev->tsk_lock);
-
atomic_inc(&dev->counts[_DRM_STAT_UNLOCKS]);
DRM_LOCK();
OpenPOWER on IntegriCloud