From: Ville Syrjälä Date: Fri, 22 Feb 2013 14:53:38 +0000 (+0200) Subject: drm/i915: Don't clobber crtc->fb when queue_flip fails X-Git-Tag: v3.9-rc2~15^2~6^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07;p=pandora-kernel.git drm/i915: Don't clobber crtc->fb when queue_flip fails 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. Cc: stable@vger.kernel.org Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson Reported-and-Tested-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed