diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-02-22 16:53:38 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-03-03 19:51:33 +0100 |
commit | 4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07 (patch) | |
tree | 82bd8df4e7b0719c38ca722b358d6e83922bd607 /arch | |
parent | b18ac466956c7e7b5abf7a2d6adf8c626267d0ae (diff) | |
download | kernel_goldelico_gta04-4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07.zip kernel_goldelico_gta04-4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07.tar.gz kernel_goldelico_gta04-4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07.tar.bz2 |
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ä <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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions