]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3483a22de7a6b5550b801f758e8ff0db1c98d2e7
tree7f2a0a9830d7e1bf1c57ef844de5b41537c33f64
parent37c79b17a109591760702eab1a154d05c33b0c7a
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