]> git.baikalelectronics.ru Git - kernel.git/commit
drm/virtio: set non-cross device blob uuid_state
authorDavid Stevens <stevensd@chromium.org>
Wed, 11 Aug 2021 04:04:01 +0000 (13:04 +0900)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 12 Aug 2021 12:58:31 +0000 (14:58 +0200)
commit3c383a3688b7d8bc83ed22b36d0fb50db0bd2608
tree5f4f5d2e487b15db941bbde333f4c97e1faa7bdc
parentb9770b0b6eac2be3772b6f4748e6b899a9ab2870
drm/virtio: set non-cross device blob uuid_state

Blob resources without the cross device flag don't have a uuid to share
with other virtio devices. When exporting such blobs, set uuid_state to
STATE_ERR so that virtgpu_virtio_get_uuid doesn't hang.

Signed-off-by: David Stevens <stevensd@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20210811040401.1264234-1-stevensd@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_prime.c