diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2013-02-22 16:52:16 +1100 |
---|---|---|
committer | Jonathan Gray <jsg@jsg.id.au> | 2013-02-22 16:52:16 +1100 |
commit | 59b9d29256cb3784ac50f5437b2d1fb101fb48d1 (patch) | |
tree | 5b05b23b8640d464249a7702ebe90b2801429546 /sys/dev/pci/drm/i915_drv.h | |
parent | 675a797fcd799014a0001216bd7b6dedcd73c46e (diff) |
remove list lock removed by linux back in 2010
commit de227ef0907258359d53e3e1530c1f3678eb2bb9
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Sat Jul 3 07:58:38 2010 +0100
drm/i915: Kill the active list spinlock
This spinlock only served debugging purposes in a time when we could not
be sure of the mutex ever being released upon a GPU hang. As we now
should be able rely on hangcheck to do the job for us (and that error
reporting should not itself require the struct mutex) we can kill the
incomplete attempt at protection.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'sys/dev/pci/drm/i915_drv.h')
-rw-r--r-- | sys/dev/pci/drm/i915_drv.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/i915_drv.h b/sys/dev/pci/drm/i915_drv.h index 811713691c9..f444e010608 100644 --- a/sys/dev/pci/drm/i915_drv.h +++ b/sys/dev/pci/drm/i915_drv.h @@ -613,9 +613,6 @@ struct inteldrm_softc { /* number of ioctls + faults in flight */ int entries; - /* protects inactive, flushing, active and exec locks */ - struct mutex list_lock; - /* protects access to request_list */ struct mutex request_lock; |