search for: resp_typ

Displaying 3 results from an estimated 3 matches for "resp_typ".

Did you mean: resp_type
2020 Aug 18
0
[PATCH v6 0/3] Support virtio cross-device resources
...NTED_DEFINITION: spinlock_t definition without comment #53: FILE: drivers/gpu/drm/virtio/virtgpu_drv.h:222: + spinlock_t resource_export_lock; -:250: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u32' over 'uint32_t' #250: FILE: drivers/gpu/drm/virtio/virtgpu_vq.c:1118: + uint32_t resp_type = le32_to_cpu(resp->hdr.type); -:256: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #256: FILE: drivers/gpu/drm/virtio/virtgpu_vq.c:1124: + if (resp_type == VIRTIO_GPU_RESP_OK_RESOURCE_UUID && + obj->uuid_state == UUID_INITIALIZING) { -:286: CHECK:PARENTHES...
2020 May 13
0
[PATCH v3 4/4] drm/virtio: Support virtgpu exported resources
...ice *vgdev, > + struct virtio_gpu_vbuffer *vbuf) > +{ > + struct virtio_gpu_object *obj = > + gem_to_virtio_gpu_obj(vbuf->objs->objs[0]); > + struct virtio_gpu_resp_resource_uuid *resp = > + (struct virtio_gpu_resp_resource_uuid *)vbuf->resp_buf; > + uint32_t resp_type = le32_to_cpu(resp->hdr.type); > + > + spin_lock(&vgdev->resource_export_lock); > + WARN_ON(obj->uuid_state != UUID_INITIALIZING); > + > + if (resp_type == VIRTIO_GPU_RESP_OK_RESOURCE_UUID && > + obj->uuid_state == UUID_INITIALIZING) { > + memcpy(&am...
2020 Mar 02
0
[virtio-dev] [PATCH v2 4/4] drm/virtio: Support virtgpu exported resources
...gpu_vbuffer *vbuf) > +{ > + struct virtio_gpu_resp_resource_uuid *resp = > + (struct virtio_gpu_resp_resource_uuid *)vbuf->resp_buf; > + struct virtio_gpu_object *obj = > + (struct virtio_gpu_object *)vbuf->data_buf; > + uint32_t resp_type = le32_to_cpu(resp->hdr.type); > + > + /* > + * Keeps the data_buf, which points to this virtio_gpu_object, from > + * getting kfree'd after this cb returns. > + */ > + vbuf->data_buf = NULL; > + > + spin_lock(&vgdev->...