]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Unpin the flip target if we fail to queue the flip
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 17 Apr 2012 18:35:53 +0000 (19:35 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 19 Jun 2012 22:18:01 +0000 (23:18 +0100)
commita1550894983f409ec89c74584575e8bd975dd918
treed0c186a61e84ae48d51d8fbfbc9009d574799989
parent3b63a92697541c17c4760ed0d0ecf30719d8ccc5
drm/i915: Unpin the flip target if we fail to queue the flip

commit 83d4092b0381e5dd6f312b2ec57121dcf0fcbade upstream.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[bwh: Backported to 3.2:
 - adjust context
 - we don't have intel_unpin_fb_obj(); use i915_gem_object_unpin()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/i915/intel_display.c