virtio-gpu: fix vblank events
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 18 Oct 2016 17:32:30 +0000 (15:32 -0200)
committerDave Airlie <airlied@redhat.com>
Thu, 3 Nov 2016 00:14:19 +0000 (10:14 +1000)
commiteed6f0eda0a009c282bcdd828c273e1239ae0cac
tree7f2a0a9830d7e1bf1c57ef844de5b41537c33f64
parentb0a6af8b34c9ad20894aa46f85f4bf59d444f286
virtio-gpu: fix vblank events

virtio-gpu sends vblank events in virtio_gpu_crtc_atomic_flush, and
because of that it must be called for disabled planes too.  Ask
drm_atomic_helper_commit_planes to do that.

v2: update to use new drm_atomic_helper_commit_planes() API.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/virtio/virtgpu_display.c