aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2017-09-19 14:14:18 +0200
committerMaarten Lankhorst <[email protected]>2017-10-04 09:16:21 +0200
commit3cf50c63a76177e0bbe0e46e1abe4eb263128ba4 (patch)
treeecb5280eb9c4aa00b686ff36591ac20415771c2e /lib/mpi/mpiutil.c
parent4672770d247806551de4aee6619d4f097eed155a (diff)
drm/i915: Unset legacy_cursor_update early in intel_atomic_commit, v3.
Commit b44d5c0c105a ("drm/i915: Always wait for flip_done, v2.") removed the call to wait_for_vblanks and replaced it with flip_done. Unfortunately legacy_cursor_update was unset too late, and the replacement call drm_atomic_helper_wait_for_flip_done() was a noop. Make sure that its unset before setup_commit() is called to fix this issue. Changes since v1: - Force vblank wait for watermarks not yet converted to atomic too. (Ville) - Use for_each_new_intel_crtc_in_state. (Ville) Changes since v2: - Move the optimization to a separate commit. (Ville) Signed-off-by: Maarten Lankhorst <[email protected]> Fixes: b44d5c0c105a ("drm/i915: Always wait for flip_done, v2.") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102675 Testcase: kms_cursor_crc Cc: Daniel Vetter <[email protected]> Cc: Jani Nikula <[email protected]> Reported-by: Marta Löfstedt <[email protected]> Cc: Marta Löfstedt <[email protected]> Tested-by: Marta Löfstedt <[email protected]> Cc: Ville Syrjälä <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions