]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/i915: Clean up evict from list.
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 20 Sep 2009 18:25:47 +0000 (19:25 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Sep 2009 00:05:26 +0000 (01:05 +0100)
commitab5ee57650165dc342a20d1213d48d585f2a72bd
tree7fd6e26d6a0a317df77234b8d5612f8b954070de
parent1c5d22f76dc721f3acb7a3dadc657a221e487fb7
drm/i915: Clean up evict from list.

First the routine attempted to unlock a mutex it did not own along the
error path.

Secondly the routine should never be called on any list but the inactive
one, since we attempt to unbind those objects, so fix the calling semantics.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c