drm/i915: Unpin the hws if we fail to kmap.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Feb 2009 14:26:34 +0000 (14:26 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:11 +0000 (12:21 +1000)
commit3eb2ee77b0b6b7b2c10308d7b46d2a459fb5be10
tree6225c9ec55db8d7bbd4339da2b75e20494e85d03
parent47ed185a777632063d2748f59d14ec6fdeb26f67
drm/i915: Unpin the hws if we fail to kmap.

A missing unpin on the error path.

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