drm/virtio: send vblank event after crtc updates
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 14 Apr 2016 17:58:54 +0000 (10:58 -0700)
committerDave Airlie <airlied@redhat.com>
Tue, 26 Apr 2016 23:32:04 +0000 (09:32 +1000)
commit9a11d2e7e66b6b8764a2430686b8716637bf812e
treea03fb96546e7dd0665360cdb44be91dc3d8bc018
parent9dc0487d96a0396367a1451b31873482080b527f
drm/virtio: send vblank event after crtc updates

virtio_gpu was failing to send vblank events when using the atomic IOCTL
with the DRM_MODE_PAGE_FLIP_EVENT flag set. This patch fixes each and
enables atomic pageflips updates.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/virtio/virtgpu_display.c