Home
last modified time | relevance | path

Searched refs:amdgpu_job (Results 1 – 25 of 64) sorted by relevance

123

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_job.h40 container_of((sched_job), struct amdgpu_job, base)
47 struct amdgpu_job { struct
83 static inline struct amdgpu_ring *amdgpu_job_ring(struct amdgpu_job *job) in amdgpu_job_ring() argument
90 unsigned int num_ibs, struct amdgpu_job **job);
94 struct amdgpu_job **job);
95 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds,
97 void amdgpu_job_free_resources(struct amdgpu_job *job);
98 void amdgpu_job_set_gang_leader(struct amdgpu_job *job,
99 struct amdgpu_job *leader);
100 void amdgpu_job_free(struct amdgpu_job *job);
[all …]
H A Damdgpu_job.c37 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_timedout()
95 unsigned int num_ibs, struct amdgpu_job **job) in amdgpu_job_alloc()
124 struct amdgpu_job **job) in amdgpu_job_alloc_with_ib()
160 void amdgpu_job_free_resources(struct amdgpu_job *job) in amdgpu_job_free_resources()
180 struct amdgpu_job *job = to_amdgpu_job(s_job); in amdgpu_job_free_cb()
193 void amdgpu_job_set_gang_leader(struct amdgpu_job *job, in amdgpu_job_set_gang_leader()
194 struct amdgpu_job *leader) in amdgpu_job_set_gang_leader()
209 void amdgpu_job_free(struct amdgpu_job *job) in amdgpu_job_free()
225 struct dma_fence *amdgpu_job_submit(struct amdgpu_job *job) in amdgpu_job_submit()
257 struct amdgpu_job *job = to_amdgpu_job(sched_job); in amdgpu_job_prepare_job()
[all …]
H A Damdgpu_vce.h62 int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, struct amdgpu_job *job,
65 struct amdgpu_job *job,
67 void amdgpu_vce_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job,
H A Damdgpu_sync.h33 struct amdgpu_job;
58 int amdgpu_sync_push_to_job(struct amdgpu_sync *sync, struct amdgpu_job *job);
H A Damdgpu_cs.h62 struct amdgpu_job *jobs[AMDGPU_CS_GANG_SIZE];
63 struct amdgpu_job *gang_leader;
H A Dvcn_v2_0.h32 extern void vcn_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job,
45 extern void vcn_v2_0_enc_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job,
H A Damdgpu_ids.h40 struct amdgpu_job;
87 struct amdgpu_job *job, struct dma_fence **fence);
H A Damdgpu_fence.c141 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f, struct amdgpu_job *job, in amdgpu_fence_emit()
716 struct amdgpu_job *job; in amdgpu_fence_driver_clear_job_fences()
722 job = container_of(old, struct amdgpu_job, hw_fence); in amdgpu_fence_driver_clear_job_fences()
784 struct amdgpu_job *job = container_of(f, struct amdgpu_job, hw_fence); in amdgpu_job_fence_get_timeline_name()
814 struct amdgpu_job *job = container_of(f, struct amdgpu_job, hw_fence); in amdgpu_job_fence_enable_signaling()
849 kfree(container_of(f, struct amdgpu_job, hw_fence)); in amdgpu_job_fence_free()
H A Damdgpu_ring.h36 struct amdgpu_job;
140 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **fence, struct amdgpu_job *job,
177 struct amdgpu_job *job,
180 struct amdgpu_job *job,
187 struct amdgpu_job *job,
445 struct amdgpu_ib *ibs, struct amdgpu_job *job,
H A Damdgpu_ids.c170 struct amdgpu_job *job) in amdgpu_vmid_gds_switch_needed()
182 struct amdgpu_job *job) in amdgpu_vmid_compatible()
275 struct amdgpu_job *job, in amdgpu_vmid_grab_reserved()
336 struct amdgpu_job *job, in amdgpu_vmid_grab_used()
398 struct amdgpu_job *job, struct dma_fence **fence) in amdgpu_vmid_grab()
H A Damdgpu_vm.h42 struct amdgpu_job;
231 struct amdgpu_job *job;
414 int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job, bool need_pipe_sync);
466 struct amdgpu_job *job);
H A Djpeg_v4_0_3.h55 struct amdgpu_job *job,
H A Dvcn_sw_ring.h35 void vcn_dec_sw_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job,
H A Djpeg_v2_0.h52 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job,
H A Damdgpu_trace.h144 struct amdgpu_job *job,
167 TP_PROTO(struct amdgpu_job *job),
193 TP_PROTO(struct amdgpu_job *job),
220 struct amdgpu_job *job),
518 TP_PROTO(struct amdgpu_job *sched_job, struct dma_fence *fence),
H A Damdgpu_uvd.h86 struct amdgpu_job *job,
H A Dvcn_sw_ring.c44 void vcn_dec_sw_ring_emit_ib(struct amdgpu_ring *ring, struct amdgpu_job *job, in vcn_dec_sw_ring_emit_ib()
H A Damdgpu_reset.h39 struct amdgpu_job *job;
H A Damdgpu_vce.c441 struct amdgpu_job *job; in amdgpu_vce_get_create_msg()
533 struct amdgpu_job *job; in amdgpu_vce_get_destroy_msg()
736 struct amdgpu_job *job, in amdgpu_vce_ring_parse_cs()
975 struct amdgpu_job *job, in amdgpu_vce_ring_parse_cs_vm()
1069 struct amdgpu_job *job, in amdgpu_vce_ring_emit_ib()
H A Djpeg_v1_0.c39 struct amdgpu_job *job,
298 struct amdgpu_job *job, in jpeg_v1_0_decode_ring_emit_ib()
635 struct amdgpu_job *job, in jpeg_v1_dec_ring_parse_cs()
H A Damdgpu_sync.c379 int amdgpu_sync_push_to_job(struct amdgpu_sync *sync, struct amdgpu_job *job) in amdgpu_sync_push_to_job()
H A Damdgpu_cs.c339 struct amdgpu_job *job; in amdgpu_cs_p2_ib()
1012 struct amdgpu_job *job = p->jobs[i]; in trace_amdgpu_cs_ibs()
1020 struct amdgpu_job *job) in amdgpu_cs_patch_ibs()
1095 struct amdgpu_job *job = p->gang_leader; in amdgpu_cs_vm_handling()
1274 struct amdgpu_job *leader = p->gang_leader; in amdgpu_cs_submit()
H A Duvd_v6_0.c213 struct amdgpu_job *job; in uvd_v6_0_enc_get_create_msg()
277 struct amdgpu_job *job; in uvd_v6_0_enc_get_destroy_msg()
1019 struct amdgpu_job *job, in uvd_v6_0_ring_emit_ib()
1047 struct amdgpu_job *job, in uvd_v6_0_enc_ring_emit_ib()
H A Damdgpu_vcn.c533 struct amdgpu_job *job; in amdgpu_vcn_dec_send_msg()
707 struct amdgpu_job *job; in amdgpu_vcn_dec_sw_send_msg()
837 struct amdgpu_job *job; in amdgpu_vcn_enc_get_create_msg()
904 struct amdgpu_job *job; in amdgpu_vcn_enc_get_destroy_msg()
H A Duvd_v7_0.c221 struct amdgpu_job *job; in uvd_v7_0_enc_get_create_msg()
284 struct amdgpu_job *job; in uvd_v7_0_enc_get_destroy_msg()
1286 struct amdgpu_job *job, in uvd_v7_0_ring_patch_cs_in_place()
1318 struct amdgpu_job *job, in uvd_v7_0_ring_emit_ib()
1351 struct amdgpu_job *job, in uvd_v7_0_enc_ring_emit_ib()

123