[PATCH] drm/virtio: add missing virtio_gpu_array_lock_resv call

Chia-I Wu olvaffe at gmail.com
Fri Jan 10 21:02:17 UTC 2020


On Fri, Jan 10, 2020 at 6:27 AM Jann Horn <jannh at google.com> wrote:
>
> 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>
Reviewed-by: Chia-I Wu <olvaffe at gmail.com>
> > ---
> >  drivers/gpu/drm/virtio/virtgpu_plane.c | 1 +
> >  1 file changed, 1 insertion(+)


More information about the dri-devel mailing list