[PATCH 3/4] drm/virtio: track whether or not a context has been initiated

Gerd Hoffmann kraxel at redhat.com
Wed Feb 12 11:06:20 UTC 2020


  Hi,

> --- a/drivers/gpu/drm/virtio/virtgpu_kms.c
> +++ b/drivers/gpu/drm/virtio/virtgpu_kms.c
> @@ -270,7 +270,9 @@ int virtio_gpu_driver_open(struct drm_device *dev, struct drm_file *file)
>  		return id;
>  	}
>  
> +
>  	vfpriv->ctx_id = id;

checkpatch warning here:

-:52: CHECK:LINE_SPACING: Please don't use multiple blank lines
#52: FILE: drivers/gpu/drm/virtio/virtgpu_kms.c:276:

cheers,
  Gerd



More information about the dri-devel mailing list