Skip to content
Snippets Groups Projects
Commit 1fb3672e authored by Daniel Stone's avatar Daniel Stone Committed by Jani Nikula
Browse files

drm: i915: Wait for fences on new fb, not old


The previous code would wait for fences on the framebuffer from the old
plane state to complete, rather than the new, so you would see tearing
everywhere. Fix this to wait on the new state before we make it active.

Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
Fixes: 94f05024 ("drm/i915: nonblocking commit")
Cc: stable@vger.kernel.org
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161021144454.6288-1-daniels@collabora.com


(cherry picked from commit 2d2c5ad8)
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 0ce140d4
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment