drm/vc4: Fix synchronization firmwarekms against GL rendering.
authorEric Anholt <eric@anholt.net>
Thu, 28 Mar 2019 18:58:51 +0000 (11:58 -0700)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:54:28 +0000 (11:54 +0100)
commit7e2f4a3382d651bccc95b872383f35ce91feb23f
tree5c8759cadbc54ea25e6ebaf27e71429d9266d018
parent81a2ca9dd14751c05632f96d3375824862c4364a
drm/vc4: Fix synchronization firmwarekms against GL rendering.

We would present the framebuffer immediately without waiting for
rendering to finish first, resulting in stuttering and flickering as a
window was dragged around when the GPU was busy enough to not just win
the race.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_firmware_kms.c