]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: fix pageflip flush
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 19 Dec 2018 12:27:00 +0000 (13:27 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Jan 2019 11:00:00 +0000 (12:00 +0100)
commit97f08c2508579b698bded4f1f5a71c709a042efc
treecd3466e7a635f843ba6f5e4facf8fba3aec9a9c1
parente5ec1d5606f0c997a4a00eb7d7af2e4c27040e26
drm/virtio: fix pageflip flush

Sending the flush command only makes sense if we actually have
a framebuffer attached to the scanout (handle != 0).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ezequiel Garcia <ezequiel@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20181219122708.4586-3-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_plane.c