Lines Matching defs:amdgpu_ring_funcs
153 struct amdgpu_ring_funcs { struct
154 enum amdgpu_ring_type type;
155 uint32_t align_mask;
156 u32 nop;
157 bool support_64bit_ptrs;
158 bool no_user_fence;
159 bool secure_submission_supported;
160 unsigned vmhub;
161 unsigned extra_dw;
164 u64 (*get_rptr)(struct amdgpu_ring *ring);
165 u64 (*get_wptr)(struct amdgpu_ring *ring);
166 void (*set_wptr)(struct amdgpu_ring *ring);
168 int (*parse_cs)(struct amdgpu_cs_parser *p,
171 int (*patch_cs_in_place)(struct amdgpu_cs_parser *p,
175 unsigned emit_frame_size;
176 unsigned emit_ib_size;
178 void (*emit_ib)(struct amdgpu_ring *ring,
182 void (*emit_fence)(struct amdgpu_ring *ring, uint64_t addr,
184 void (*emit_pipeline_sync)(struct amdgpu_ring *ring);
185 void (*emit_vm_flush)(struct amdgpu_ring *ring, unsigned vmid,
187 void (*emit_hdp_flush)(struct amdgpu_ring *ring);
188 void (*emit_gds_switch)(struct amdgpu_ring *ring, uint32_t vmid,
193 int (*test_ring)(struct amdgpu_ring *ring);
194 int (*test_ib)(struct amdgpu_ring *ring, long timeout);
196 void (*insert_nop)(struct amdgpu_ring *ring, uint32_t count);
197 void (*insert_start)(struct amdgpu_ring *ring);
198 void (*insert_end)(struct amdgpu_ring *ring);
200 void (*pad_ib)(struct amdgpu_ring *ring, struct amdgpu_ib *ib);
201 unsigned (*init_cond_exec)(struct amdgpu_ring *ring);
202 void (*patch_cond_exec)(struct amdgpu_ring *ring, unsigned offset);
227 const struct amdgpu_ring_funcs *funcs; argument