[PATCH] drm/virtio: add missing virtio_gpu_array_lock_resv call

Jann Horn jannh at google.com
Fri Jan 10 14:26:46 UTC 2020


On Fri, Jan 10, 2020 at 10:45 AM Gerd Hoffmann <kraxel at redhat.com> wrote:
> When submitting a fenced command we must lock the object reservations
> because virtio_gpu_queue_fenced_ctrl_buffer() unlocks after adding the
> fence.

Thanks a lot! With this patch applied, my VM doesn't throw lockdep
warnings anymore. If you want, you can add:

Tested-by: Jann Horn <jannh at google.com>

> Reported-by: Jann Horn <jannh at google.com>
> Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
> ---
>  drivers/gpu/drm/virtio/virtgpu_plane.c | 1 +
>  1 file changed, 1 insertion(+)


More information about the dri-devel mailing list