OSDN Git Service

drm/virtio: Add fences for Guest blobs
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Thu, 10 Jun 2021 23:24:54 +0000 (16:24 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 23 Jun 2021 10:11:59 +0000 (12:11 +0200)
commit3a1fde58fab3d584dc465c072ac894dfe87abc32
treeb457c7ca8c65f42bb578e55ad3c17b059dca0d0f
parent2e717a55982affbf424b1ac2bf751201e3f4b19e
drm/virtio: Add fences for Guest blobs

Add prepare and cleanup routines for primary planes as well
where a fence is added only if the BO/FB associated with the
plane is a guest blob.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210610232456.671905-2-vivek.kasireddy@intel.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_plane.c