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>
Wed, 1 Jul 2020 15:32:58 +0000 (16:32 +0100)
commit78128dc92b44eee4a57d76ccfb0a00d610256120
tree501a25d55d9a1a526cb7cc381e0e3090cbd90a33
parentc81dec621383cc5e20bd2d88e0116c3e206194cb
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