summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_stub.c
diff options
context:
space:
mode:
authorEric Anholt2008-11-05 03:36:29 +0100
committerDave Airlie2008-11-11 08:44:26 +0100
commit5d8e6bb7a20b6206e1fe44565efc383a941b81fa (patch)
tree088f954cf9d902455b1db968954fb3aed6edb246 /drivers/gpu/drm/drm_stub.c
parenti915: Remove racy delayed vblank swap ioctl. (diff)
downloadkernel-qcow2-linux-5d8e6bb7a20b6206e1fe44565efc383a941b81fa.tar.gz
kernel-qcow2-linux-5d8e6bb7a20b6206e1fe44565efc383a941b81fa.tar.xz
kernel-qcow2-linux-5d8e6bb7a20b6206e1fe44565efc383a941b81fa.zip
drm: Remove infrastructure for supporting i915's vblank swapping.
It's not used in any other drivers, and doesn't look like it will be from drm.git master. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/drm_stub.c')
-rw-r--r--drivers/gpu/drm/drm_stub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c
index 141e33004a76..66c96ec66672 100644
--- a/drivers/gpu/drm/drm_stub.c
+++ b/drivers/gpu/drm/drm_stub.c
@@ -92,7 +92,6 @@ static int drm_fill_in_dev(struct drm_device * dev, struct pci_dev *pdev,
spin_lock_init(&dev->count_lock);
spin_lock_init(&dev->drw_lock);
- spin_lock_init(&dev->tasklet_lock);
spin_lock_init(&dev->lock.spinlock);
init_timer(&dev->timer);
mutex_init(&dev->struct_mutex);