[RFC v1 4/4] drm/virtio: Probe and implement VIRTIO_GPU_F_OUT_FENCE feature

Gerd Hoffmann kraxel at redhat.com
Thu Jul 29 09:52:15 UTC 2021


  Hi,

> +	bool has_out_fence;

> +	if (virtio_has_feature(vgdev->vdev, VIRTIO_GPU_F_OUT_FENCE)) {
> +		vgdev->has_out_fence = true;
> +		vgdev->ddev->mode_config.deferred_out_fence = true;

Looks like you don't need has_out_fence, you can just use
vgdev->ddev->mode_config.deferred_out_fence instead.

take care,
  Gerd



More information about the dri-devel mailing list