]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: Unlock mutex on i915_gem_fault() error path
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 4 Feb 2009 14:15:10 +0000 (14:15 +0000)
committerDave Airlie <airlied@linux.ie>
Sun, 8 Feb 2009 11:38:27 +0000 (21:38 +1000)
commit7d8d58b23fd01e60ed44d8d8c10b2df86e638faa
tree78c29f02c8da4829430ba1af164b87216e8a281e
parent122ee2a63bc49d21f402f6b6d2208306cdcc98c1
drm/i915: Unlock mutex on i915_gem_fault() error path

If we failed to allocate a new fence register we would return
VM_FAULT_SIGBUS without relinquishing the lock.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/i915/i915_gem.c