drm/virtio: Remove restriction of non-zero blob_flags
authorRob Clark <robdclark@chromium.org>
Sat, 19 Feb 2022 17:03:01 +0000 (09:03 -0800)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Mar 2022 11:28:27 +0000 (12:28 +0100)
commitec3cbb30893be248d180dd748ee9148d408a99d1
tree4c6658c495ec8e108dcc743f1bc31c7d67ba3e27
parent194d250cdc4a40ccbd179afd522a9e9846957402
drm/virtio: Remove restriction of non-zero blob_flags

With native userspace drivers in guest, a lot of GEM objects need to be
neither shared nor mappable.  And in fact making everything mappable
and/or sharable results in unreasonably high fd usage in host VMM.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220219170301.545432-1-robdclark@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_ioctl.c