Skip to content
Snippets Groups Projects
Commit df26f31a authored by Dmitry Osipenko's avatar Dmitry Osipenko
Browse files

drm/virtio: Unlock reservations on virtio_gpu_object_shmem_init() error


Unlock reservations in the error code path of virtio_gpu_object_create()
to silence debug warning splat produced by ww_mutex_destroy(&obj->lock)
when GEM is released with the held lock.

Cc: stable@vger.kernel.org
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
parent 4f01cc3d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment