diff options
author | Ville Syrjälä <[email protected]> | 2013-02-22 16:53:38 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2013-03-03 19:51:33 +0100 |
commit | 4a35f83b2b7c6aae3fc0d1c4554fdc99dc33ad07 (patch) | |
tree | 82bd8df4e7b0719c38ca722b358d6e83922bd607 /lib/debugobjects.c | |
parent | b18ac466956c7e7b5abf7a2d6adf8c626267d0ae (diff) |
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: [email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reported-and-Tested-by: Mika Kuoppala <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions