Looks like the amdgpu driver doesn't properly wait for rendering to the back buffer to finish before flipping scanout to it.