diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-02-22 14:53:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-05 16:26:15 (GMT) |
commit | 6c7db2bac62fc0b01ac35981144b05e355cbdb3e (patch) | |
tree | 519879f7397d17b9829a40da84ee2ee16dad294d /CREDITS | |
parent | 624f6b4da14474588eec8249f4d45344d05e0279 (diff) | |
download | linux-fsl-qoriq-6c7db2bac62fc0b01ac35981144b05e355cbdb3e.tar.xz |
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.
Backported for 3.8-stable. Restored an atomic_sub removed
in 3.9 ca9c46.
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>
Signed-off-by: Lingzhu Xiang <lxiang@redhat.com>
Reviewed-by: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions