Re: [PATCH] drm/virtio: add missing virtio_gpu_array_lock_resv call
From: Chia-I Wu
Date: Fri Jan 10 2020 - 16:02:31 EST
On Fri, Jan 10, 2020 at 6:27 AM Jann Horn <jannh@xxxxxxxxxx> wrote:
>
> On Fri, Jan 10, 2020 at 10:45 AM Gerd Hoffmann <kraxel@xxxxxxxxxx> 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@xxxxxxxxxx>
>
> > Reported-by: Jann Horn <jannh@xxxxxxxxxx>
> > Signed-off-by: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Reviewed-by: Chia-I Wu <olvaffe@xxxxxxxxx>
> > ---
> > drivers/gpu/drm/virtio/virtgpu_plane.c | 1 +
> > 1 file changed, 1 insertion(+)