Home
last modified time | relevance | path

Searched refs:dmabuf_id (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Ddmabuf.c143 dmabuf_obj->dmabuf_id); in dmabuf_gem_object_free()
375 if (dmabuf_obj->dmabuf_id == id) { in pick_dmabuf_by_num()
424 gfx_plane_info->dmabuf_id = dmabuf_obj->dmabuf_id; in intel_vgpu_query_plane()
437 gfx_plane_info->dmabuf_id); in intel_vgpu_query_plane()
468 gfx_plane_info->dmabuf_id = ret; in intel_vgpu_query_plane()
469 dmabuf_obj->dmabuf_id = ret; in intel_vgpu_query_plane()
497 int intel_vgpu_get_dmabuf(struct intel_vgpu *vgpu, unsigned int dmabuf_id) in intel_vgpu_get_dmabuf() argument
508 dmabuf_obj = pick_dmabuf_by_num(vgpu, dmabuf_id); in intel_vgpu_get_dmabuf()
510 gvt_vgpu_err("invalid dmabuf id:%d\n", dmabuf_id); in intel_vgpu_get_dmabuf()
549 vgpu->id, dmabuf_obj->dmabuf_id, in intel_vgpu_get_dmabuf()
[all …]
Ddmabuf.h57 __u32 dmabuf_id; member
64 int intel_vgpu_get_dmabuf(struct intel_vgpu *vgpu, unsigned int dmabuf_id);
Dkvmgt.c1397 dmabuf_id); in intel_vgpu_ioctl()
1410 __u32 dmabuf_id; in intel_vgpu_ioctl() local
1412 if (get_user(dmabuf_id, (__u32 __user *)arg)) in intel_vgpu_ioctl()
1414 return intel_vgpu_get_dmabuf(vgpu, dmabuf_id); in intel_vgpu_ioctl()
/linux-6.1.9/samples/vfio-mdev/
Dmbochs.c1133 plane->dmabuf_id = 0; in mbochs_query_gfx_plane()
1150 plane->dmabuf_id = dmabuf->id; in mbochs_query_gfx_plane()
1154 mdev_state->active_id != plane->dmabuf_id) { in mbochs_query_gfx_plane()
1156 __func__, mdev_state->active_id, plane->dmabuf_id); in mbochs_query_gfx_plane()
1157 mdev_state->active_id = plane->dmabuf_id; in mbochs_query_gfx_plane()
1289 u32 dmabuf_id; in mbochs_ioctl() local
1291 if (get_user(dmabuf_id, (__u32 __user *)arg)) in mbochs_ioctl()
1294 return mbochs_get_gfx_dmabuf(mdev_state, dmabuf_id); in mbochs_ioctl()
/linux-6.1.9/include/uapi/linux/
Dvfio.h729 __u32 dmabuf_id; /* dma-buf id */ member