diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-15 11:58:52 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-15 17:57:06 +0100 |
commit | fcc86cb45d38ca2f24bcea9c29c7f4742041caed (patch) | |
tree | 5d466baabc2e56d7eeba09e57aedde7cbc67ef26 /drivers/dma-buf/udmabuf.c | |
parent | 5a43911fd256f1c9748f3f82aee1c3a3adad2719 (diff) | |
download | linux-stable-fcc86cb45d38ca2f24bcea9c29c7f4742041caed.tar.gz linux-stable-fcc86cb45d38ca2f24bcea9c29c7f4742041caed.tar.bz2 linux-stable-fcc86cb45d38ca2f24bcea9c29c7f4742041caed.zip |
drm/vc4: Set ->legacy_cursor_update to false when doing non-async updates
drm_atomic_helper_setup_commit() auto-completes commit->flip_done when
state->legacy_cursor_update is true, but we know for sure that we want
a sync update when we call drm_atomic_helper_setup_commit() from
vc4_atomic_commit().
Explicitly set state->legacy_cursor_update to false to prevent this
auto-completion.
Fixes: 184d3cf4f738 ("drm/vc4: Use wait_for_flip_done() instead of wait_for_vblanks()")
Cc: <stable@vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181115105852.9844-2-boris.brezillon@bootlin.com
Diffstat (limited to 'drivers/dma-buf/udmabuf.c')
0 files changed, 0 insertions, 0 deletions