Home
last modified time | relevance | path

Searched refs:fence_id (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c109 fence->fence_id = fence->f.seqno = ++drv->current_fence_id; in virtio_gpu_fence_emit()
117 cmd_hdr->fence_id = cpu_to_le64(fence->fence_id); in virtio_gpu_fence_emit()
128 u64 fence_id) in virtio_gpu_fence_event_process() argument
135 atomic64_set(&vgdev->fence_drv.last_fence_id, fence_id); in virtio_gpu_fence_event_process()
137 if (fence_id != curr->fence_id) in virtio_gpu_fence_event_process()
Dvirtgpu_trace.h20 __field(u64, fence_id)
31 __entry->fence_id = le64_to_cpu(hdr->fence_id);
38 __entry->type, __entry->flags, __entry->fence_id,
Dvirtgpu_drv.h150 uint64_t fence_id; member
446 u64 fence_id);
Dvirtgpu_vq.c204 u64 fence_id; in virtio_gpu_dequeue_ctrl_func() local
231 fence_id = le64_to_cpu(resp->fence_id); in virtio_gpu_dequeue_ctrl_func()
232 virtio_gpu_fence_event_process(vgdev, fence_id); in virtio_gpu_dequeue_ctrl_func()
/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_gem_submit.c88 if (submit->fence_id) { in __msm_gem_submit_destroy()
90 idr_remove(&submit->queue->fence_idr, submit->fence_id); in __msm_gem_submit_destroy()
844 submit->fence_id = args->fence; in msm_ioctl_gem_submit()
846 &submit->fence_id, submit->fence_id, in msm_ioctl_gem_submit()
858 submit->fence_id = idr_alloc_cyclic(&queue->fence_idr, in msm_ioctl_gem_submit()
866 if (submit->fence_id < 0) { in msm_ioctl_gem_submit()
867 ret = submit->fence_id; in msm_ioctl_gem_submit()
868 submit->fence_id = 0; in msm_ioctl_gem_submit()
893 args->fence = submit->fence_id; in msm_ioctl_gem_submit()
894 queue->last_fence = submit->fence_id; in msm_ioctl_gem_submit()
Dmsm_drv.c728 static int wait_fence(struct msm_gpu_submitqueue *queue, uint32_t fence_id, in wait_fence() argument
734 if (fence_after(fence_id, queue->last_fence)) { in wait_fence()
736 fence_id, queue->last_fence); in wait_fence()
749 fence = idr_find(&queue->fence_idr, fence_id); in wait_fence()
Dmsm_gem.h275 int fence_id; /* key into queue->fence_idr */ member
/linux-6.12.1/drivers/gpu/drm/i915/pxp/
Dintel_pxp_huc.c25 u8 fence_id = 0; in intel_pxp_huc_load_and_auth() local
43 err = intel_pxp_tee_stream_message(pxp, client_id, fence_id, in intel_pxp_huc_load_and_auth()
Dintel_pxp_tee.h18 u8 client_id, u32 fence_id,
Dintel_pxp_tee.c109 u8 client_id, u32 fence_id, in intel_pxp_tee_stream_message() argument
138 fence_id, sg, msg_in_len, sg); in intel_pxp_tee_stream_message()
/linux-6.12.1/drivers/misc/mei/
Dbus.c967 u8 client_id, u32 fence_id, in mei_cldev_send_gsc_command() argument
990 dev_dbg(bus->dev, "client_id %u, fence_id %u\n", client_id, fence_id); in mei_cldev_send_gsc_command()
1012 ext_hdr->fence_id = fence_id; in mei_cldev_send_gsc_command()
1060 if (rx_msg.client_id != client_id || rx_msg.fence_id != fence_id) { in mei_cldev_send_gsc_command()
1062 rx_msg.client_id, rx_msg.fence_id, client_id, fence_id); in mei_cldev_send_gsc_command()
Dhw.h342 u32 fence_id; member
362 u32 fence_id; member
/linux-6.12.1/include/drm/intel/
Di915_pxp_tee_interface.h35 ssize_t (*gsc_command)(struct device *dev, u8 client_id, u32 fence_id,
/linux-6.12.1/drivers/misc/mei/pxp/
Dmei_pxp.c164 static ssize_t mei_pxp_gsc_command(struct device *dev, u8 client_id, u32 fence_id, in mei_pxp_gsc_command() argument
172 return mei_cldev_send_gsc_command(cldev, client_id, fence_id, sg_in, total_in_len, sg_out); in mei_pxp_gsc_command()
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_fbc.c89 s8 fence_id; member
292 if (fbc_state->fence_id >= 0) in i8xx_fbc_ctl()
293 fbc_ctl |= FBC_CTL_FENCENO(fbc_state->fence_id); in i8xx_fbc_ctl()
306 if (fbc_state->fence_id >= 0) in i965_fbc_ctl2()
450 if (fbc_state->fence_id >= 0) { in g4x_dpfc_ctl()
454 dpfc_ctl |= DPFC_CTL_FENCENO(fbc_state->fence_id); in g4x_dpfc_ctl()
570 if (fbc_state->fence_id >= 0) in snb_fbc_program_fence()
571 ctl = SNB_DPFC_FENCE_EN | SNB_DPFC_FENCENO(fbc_state->fence_id); in snb_fbc_program_fence()
645 if (fbc_state->fence_id >= 0) in ivb_dpfc_ctl()
1231 fbc_state->fence_id = i915_vma_fence_id(plane_state->ggtt_vma); in intel_fbc_update_state()
[all …]
/linux-6.12.1/include/linux/
Dmei_cl_bus.h129 u8 client_id, u32 fence_id,
/linux-6.12.1/include/uapi/linux/
Dvirtio_gpu.h140 __le64 fence_id; member
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_vm.c3169 u32 fence_id = 0; in xe_vm_invalidate_vma() local
3197 &fence[fence_id], in xe_vm_invalidate_vma()
3201 &fence[fence_id], vma); in xe_vm_invalidate_vma()
3204 ++fence_id; in xe_vm_invalidate_vma()
3210 &fence[fence_id], in xe_vm_invalidate_vma()
3214 &fence[fence_id], vma); in xe_vm_invalidate_vma()
3217 ++fence_id; in xe_vm_invalidate_vma()
3222 for (id = 0; id < fence_id; ++id) in xe_vm_invalidate_vma()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_fwif.h203 u32 fence_id; member
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c8994 u32 fence_id; in gaudi_print_fences_single_engine() local
9002 fence_id = in gaudi_print_fences_single_engine()
9006 (i + fence_id * sds->props[SP_ENGINE_NUM_OF_QUEUES]); in gaudi_print_fences_single_engine()
9015 i, fence_id, in gaudi_print_fences_single_engine()
9016 fence_cnt, engine_name, engine_id, fence_id, i, in gaudi_print_fences_single_engine()
9017 fence_rdata, engine_name, engine_id, fence_id, i, in gaudi_print_fences_single_engine()
9018 fences[fence_id], in gaudi_print_fences_single_engine()