drm/virtio: Create Dumb BOs as guest Blobs (v3)
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Tue, 13 Apr 2021 05:26:14 +0000 (22:26 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 15 Apr 2021 08:55:18 +0000 (10:55 +0200)
commit3389082bb98296ca5f31ac809a4e5dec5b069148
tree5881c940504e78f72325b14e8d5a48a699a890f6
parent2b173d7fc220af2b0aea209568753c6e591b0ca6
drm/virtio: Create Dumb BOs as guest Blobs (v3)

If support for Blob resources is available, then dumb BOs created
by the driver can be considered as guest Blobs.

v2: Don't skip transfer and flush commands as part of plane update
as the device may have created a shared mapping. (Gerd)

v3: Don't create dumb BOs as Guest blobs if Virgl is enabled. (Gurchetan)

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Acked-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20210413052614.2486768-1-vivek.kasireddy@intel.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_gem.c
drivers/gpu/drm/virtio/virtgpu_object.c