summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-02-22 16:53:38 +0200
committerBen Hutchings <ben@decadent.org.uk>2013-03-20 15:03:21 +0000
commit0149797bb6d01648df71fed72b88591c75bca5a5 (patch)
treec0950a64772bd5e99fd83fb8147bad7cba37b66b /arch
parente0179c31e0818d5efc87a475f2b83979ef2d3585 (diff)
drm/i915: Don't clobber crtc->fb when queue_flip fails
commit 4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07 upstream. Restore crtc->fb to the old framebuffer if queue_flip fails. While at it, kill the pointless intel_fb temp variable. v2: Update crtc->fb before queue_flip and restore it back after a failure. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reported-and-Tested-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions