[PATCH v2 2/3] drm/virtio: never kick in virtio_gpu_queue_ctrl_sgs

Gerd Hoffmann kraxel at redhat.com
Tue Feb 11 12:57:29 UTC 2020


  Hi,

> @@ -541,6 +539,7 @@ void virtio_gpu_cmd_unref_resource(struct virtio_gpu_device *vgdev,
>  	cmd_p->resource_id = cpu_to_le32(resource_id);
>  
>  	virtio_gpu_queue_ctrl_buffer(vgdev, vbuf);
> +	virtio_gpu_commit_ctrl(vgdev);
>  }

Well, I was more thinking about adding that to higher-level functions
so we get more actual batching out of it ...

cheers,
  Gerd



More information about the dri-devel mailing list