diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-02-22 18:53:38 +0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-03-03 22:51:33 +0400 |
commit | 4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07 (patch) | |
tree | 82bd8df4e7b0719c38ca722b358d6e83922bd607 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b18ac466956c7e7b5abf7a2d6adf8c626267d0ae (diff) | |
download | linux-4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions