drm/virtio: skip set_scanout if framebuffer didn't change
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 12 Dec 2019 12:53:44 +0000 (13:53 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 16 Dec 2019 11:39:50 +0000 (12:39 +0100)
commit3954ff10e06e4fbc548fc02ff1fcaaac3228fed5
treede77092b935b4e2a00040b2d5dea3e8e766203d0
parent4ad7056a4014e1cbc77f7b0361398fa26d2817b1
drm/virtio: skip set_scanout if framebuffer didn't change

v2: also check src rect (Chia-I Wu).

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20191212125346.8334-2-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_plane.c