]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm/i915: Unpin the fb on error during construction.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Feb 2009 14:26:36 +0000 (14:26 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:11 +0000 (12:21 +1000)
commitb4476f52e43fadcb9402723a1a55ba1308757525
tree98af76b28b2aafc8ee8b0c53fe7bee27c1946c71
parent3eb2ee77b0b6b7b2c10308d7b46d2a459fb5be10
drm/i915: Unpin the fb on error during construction.

If we fail whilst constructing the fb, then we need to unpin it as well.

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/intel_fb.c