OSDN Git Service

drm/qxl: handle shadow in primary destroy
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Feb 2021 14:57:08 +0000 (15:57 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Feb 2021 07:52:40 +0000 (08:52 +0100)
commita7709b9b89a67f3ead2d188b1d0c261059b1f291
tree7e02b60a207d38b502257c552cf0ff0657729fe8
parent76aefa4d274a003a6b6d1ab8b76cfa7b82549356
drm/qxl: handle shadow in primary destroy

qxl_primary_atomic_disable must check whenever the framebuffer bo has a
shadow surface and in case it has check the shadow primary status.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20210204145712.1531203-8-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_display.c