Home
last modified time | relevance | path

Searched refs:si_context (Results 1 - 25 of 42) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state.h250 /* The list of registers whose emitted values are remembered by si_context. */
492 void si_update_ps_colorbuf0_slot(struct si_context *sctx);
493 void si_invalidate_inlinable_uniforms(struct si_context *sctx, enum pipe_shader_type shader);
494 void si_get_pipe_constant_buffer(struct si_context *sctx, uint shader, uint slot,
500 void si_get_shader_buffers(struct si_context *sctx, enum pipe_shader_type shader, uint start_slot,
502 void si_set_ring_buffer(struct si_context *sctx, uint slot, struct pipe_resource *buffer,
505 void si_init_all_descriptors(struct si_context *sctx);
506 bool si_upload_graphics_shader_descriptors(struct si_context *sctx);
507 bool si_upload_compute_shader_descriptors(struct si_context *sctx);
508 void si_release_all_descriptors(struct si_context *sct
[all...]
H A Dsi_query.h37 struct si_context;
131 void (*destroy)(struct si_context *, struct si_query *);
132 bool (*begin)(struct si_context *, struct si_query *);
133 bool (*end)(struct si_context *, struct si_query *);
134 bool (*get_result)(struct si_context *, struct si_query *, bool wait,
136 void (*get_result_resource)(struct si_context *, struct si_query *,
141 void (*suspend)(struct si_context *, struct si_query *);
142 void (*resume)(struct si_context *, struct si_query *);
172 bool (*prepare_buffer)(struct si_context *, struct si_query_buffer *);
173 void (*emit_start)(struct si_context *, struc
[all...]
H A Dsi_pipe.h901 struct si_context *ctx;
937 struct si_context { struct
961 void (*emit_cache_flush)(struct si_context *ctx, struct radeon_cmdbuf *cs);
1299 void (*emit_spi_map[33])(struct si_context *sctx);
1325 void si_blitter_begin(struct si_context *sctx, enum si_blitter_op op);
1326 void si_blitter_end(struct si_context *sctx);
1327 void si_init_blit_functions(struct si_context *sctx);
1328 void si_decompress_textures(struct si_context *sctx, unsigned shader_mask);
1336 void si_decompress_dcc(struct si_context *sctx, struct si_texture *tex);
1337 void si_flush_implicit_resources(struct si_context *sct
[all...]
H A Dsi_pm4.h35 struct si_context;
41 void (*emit)(struct si_context *ctx);
67 void si_pm4_free_state(struct si_context *sctx, struct si_pm4_state *state, unsigned idx);
69 void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state);
70 void si_pm4_reset_emitted(struct si_context *sctx, bool first_cs);
H A Dsi_state_viewport.c31 static void si_get_small_prim_cull_info(struct si_context *sctx, struct si_small_prim_cull_info *out) in si_get_small_prim_cull_info()
89 static void si_emit_cull_state(struct si_context *sctx) in si_emit_cull_state()
154 struct si_context *ctx = (struct si_context *)pctx; in si_set_scissor_states()
169 static void si_get_scissor_from_viewport(struct si_context *ctx, in si_get_scissor_from_viewport()
200 static void si_clamp_scissor(struct si_context *ctx, struct pipe_scissor_state *out, in si_clamp_scissor()
226 static void si_emit_one_scissor(struct si_context *ctx, struct radeon_cmdbuf *cs, in si_emit_one_scissor()
262 static void si_emit_guardband(struct si_context *ctx) in si_emit_guardband()
399 static void si_emit_scissors(struct si_context *ctx) in si_emit_scissors()
433 struct si_context *ct in si_set_viewport_states()
[all...]
H A Dsi_descriptors.c128 static bool si_upload_descriptors(struct si_context *sctx, struct si_descriptors *desc) in si_upload_descriptors()
180 si_add_descriptors_to_bo_list(struct si_context *sctx, struct si_descriptors *desc) in si_add_descriptors_to_bo_list()
202 static struct si_descriptors *si_sampler_and_image_descriptors(struct si_context *sctx, in si_sampler_and_image_descriptors()
217 static void si_sampler_view_add_buffer(struct si_context *sctx, struct pipe_resource *resource, in si_sampler_view_add_buffer()
236 static void si_sampler_views_begin_new_cs(struct si_context *sctx, struct si_samplers *samplers) in si_sampler_views_begin_new_cs()
250 static bool si_sampler_views_check_encrypted(struct si_context *sctx, struct si_samplers *samplers, in si_sampler_views_check_encrypted()
445 static void si_set_sampler_view_desc(struct si_context *sctx, struct si_sampler_view *sview, in si_set_sampler_view_desc()
519 static void si_set_sampler_views(struct si_context *sctx, unsigned shader, in si_set_sampler_views()
620 static void si_update_shader_needs_decompress_mask(struct si_context *sctx, unsigned shader) in si_update_shader_needs_decompress_mask()
642 struct si_context *sct in si_pipe_set_sampler_views()
[all...]
H A Dsi_fence.c47 struct si_context *ctx;
67 void si_cp_release_mem(struct si_context *ctx, struct radeon_cmdbuf *cs, unsigned event, in si_cp_release_mem()
174 void si_cp_wait_mem(struct si_context *ctx, struct radeon_cmdbuf *cs, uint64_t va, uint32_t ref, in si_cp_wait_mem()
188 static void si_add_fence_dependency(struct si_context *sctx, struct pipe_fence_handle *fence) in si_add_fence_dependency()
195 static void si_add_syncobj_signal(struct si_context *sctx, struct pipe_fence_handle *fence) in si_add_syncobj_signal()
252 static void si_fine_fence_set(struct si_context *ctx, struct si_fine_fence *fine, unsigned flags) in si_fine_fence_set()
287 struct si_context *sctx; in si_fence_finish()
291 sctx = (struct si_context *)(ctx ? ctx : NULL); in si_fence_finish()
459 struct si_context *sctx = (struct si_context *)ct in si_flush_all_queues()
[all...]
H A Dsi_query.c61 static void si_query_sw_destroy(struct si_context *sctx, struct si_query *squery) in si_query_sw_destroy()
119 static bool si_query_sw_begin(struct si_context *sctx, struct si_query *squery) in si_query_sw_begin()
276 static bool si_query_sw_end(struct si_context *sctx, struct si_query *squery) in si_query_sw_end()
436 static bool si_query_sw_get_result(struct si_context *sctx, struct si_query *squery, bool wait, in si_query_sw_get_result()
532 void si_query_buffer_reset(struct si_context *sctx, struct si_query_buffer *buffer) in si_query_buffer_reset()
557 bool si_query_buffer_alloc(struct si_context *sctx, struct si_query_buffer *buffer, in si_query_buffer_alloc()
558 bool (*prepare_buffer)(struct si_context *, struct si_query_buffer *), in si_query_buffer_alloc()
594 void si_query_hw_destroy(struct si_context *sctx, struct si_query *squery) in si_query_hw_destroy()
603 static bool si_query_hw_prepare_buffer(struct si_context *sctx, struct si_query_buffer *qbuf) in si_query_hw_prepare_buffer()
674 static void si_query_hw_get_result_resource(struct si_context *sct
[all...]
H A Dsi_blit.c44 void si_blitter_begin(struct si_context *sctx, enum si_blitter_op op) in si_blitter_begin()
91 void si_blitter_end(struct si_context *sctx) in si_blitter_end()
127 static unsigned si_blit_dbcb_copy(struct si_context *sctx, struct si_texture *src, in si_blit_dbcb_copy()
199 static void si_blit_decompress_zs_planes_in_place(struct si_context *sctx, in si_blit_decompress_zs_planes_in_place()
266 static void si_blit_decompress_zs_in_place(struct si_context *sctx, struct si_texture *texture, in si_blit_decompress_zs_in_place()
292 static void si_decompress_depth(struct si_context *sctx, struct si_texture *tex, in si_decompress_depth()
409 static bool si_decompress_sampler_depth_textures(struct si_context *sctx, in si_decompress_sampler_depth_textures()
443 static void si_blit_decompress_color(struct si_context *sctx, struct si_texture *tex, in si_blit_decompress_color()
552 static void si_decompress_color_texture(struct si_context *sctx, struct si_texture *tex, in si_decompress_color_texture()
566 static void si_decompress_sampler_color_textures(struct si_context *sct
[all...]
H A Dsi_buffer.c33 bool si_cs_is_buffer_referenced(struct si_context *sctx, struct pb_buffer *buf, in si_cs_is_buffer_referenced()
39 void *si_buffer_map(struct si_context *sctx, struct si_resource *resource, in si_buffer_map()
250 static bool si_invalidate_buffer(struct si_context *sctx, struct si_resource *buf) in si_invalidate_buffer()
284 struct si_context *sctx = (struct si_context *)ctx; in si_replace_buffer_storage()
305 struct si_context *sctx = (struct si_context *)ctx; in si_invalidate_resource()
318 struct si_context *sctx = (struct si_context *)ctx; in si_buffer_get_transfer()
341 struct si_context *sct in si_buffer_transfer_map()
[all...]
H A Dsi_sqtt.c37 si_emit_spi_config_cntl(struct si_context* sctx,
41 si_thread_trace_init_bo(struct si_context *sctx) in si_thread_trace_init_bo()
71 si_se_is_disabled(struct si_context* sctx, unsigned se) in si_se_is_disabled()
79 si_emit_thread_trace_start(struct si_context* sctx, in si_emit_thread_trace_start()
244 si_copy_thread_trace_info_regs(struct si_context* sctx, in si_copy_thread_trace_info_regs()
285 si_emit_thread_trace_stop(struct si_context *sctx, in si_emit_thread_trace_stop()
379 si_thread_trace_start(struct si_context *sctx, int family, struct radeon_cmdbuf *cs) in si_thread_trace_start()
433 si_thread_trace_stop(struct si_context *sctx, int family, struct radeon_cmdbuf *cs) in si_thread_trace_stop()
486 si_thread_trace_init_cs(struct si_context *sctx) in si_thread_trace_init_cs()
516 si_begin_thread_trace(struct si_context *sct
[all...]
H A Dsi_debug.c38 static void si_dump_bo_list(struct si_context *sctx, const struct radeon_saved_cs *saved, FILE *f);
133 struct si_context *ctx;
161 static void si_dump_gfx_shader(struct si_context *ctx, const struct si_shader_ctx_state *state, in si_dump_gfx_shader()
176 static void si_dump_compute_shader(struct si_context *ctx, struct u_log_context *log) in si_dump_compute_shader()
294 static void si_dump_mmapped_reg(struct si_context *sctx, FILE *f, unsigned offset) in si_dump_mmapped_reg()
303 static void si_dump_debug_registers(struct si_context *sctx, FILE *f) in si_dump_debug_registers()
340 struct si_context *ctx;
389 void si_print_current_ib(struct si_context *sctx, FILE *f) in si_print_current_ib()
398 struct si_context *ctx = chunk->ctx; in si_log_chunk_type_cs_print()
440 static void si_log_cs(struct si_context *ct
[all...]
H A Dsi_perfcounter.c61 static void si_pc_emit_instance(struct si_context *sctx, int se, int instance) in si_pc_emit_instance()
97 static void si_pc_emit_select(struct si_context *sctx, struct ac_pc_block *block, unsigned count, in si_pc_emit_select()
125 static void si_pc_emit_start(struct si_context *sctx, struct si_resource *buffer, uint64_t va) in si_pc_emit_start()
144 static void si_pc_emit_stop(struct si_context *sctx, struct si_resource *buffer, uint64_t va) in si_pc_emit_stop()
219 static void si_pc_emit_read(struct si_context *sctx, struct ac_pc_block *block, unsigned count, in si_pc_emit_read()
261 static void si_pc_query_destroy(struct si_context *sctx, struct si_query *squery) in si_pc_query_destroy()
277 void si_inhibit_clockgating(struct si_context *sctx, struct radeon_cmdbuf *cs, bool inhibit) in si_inhibit_clockgating()
294 static void si_pc_query_resume(struct si_context *sctx, struct si_query *squery) in si_pc_query_resume()
331 static void si_pc_query_suspend(struct si_context *sctx, struct si_query *squery) in si_pc_query_suspend()
367 static bool si_pc_query_begin(struct si_context *ct
[all...]
H A Dsi_state_streamout.c29 static void si_set_streamout_enable(struct si_context *sctx, bool enable);
68 void si_streamout_buffers_dirty(struct si_context *sctx) in si_streamout_buffers_dirty()
81 struct si_context *sctx = (struct si_context *)ctx; in si_set_streamout_targets()
215 static void si_flush_vgt_streamout(struct si_context *sctx) in si_flush_vgt_streamout()
251 static void si_emit_streamout_begin(struct si_context *sctx) in si_emit_streamout_begin()
328 void si_emit_streamout_end(struct si_context *sctx) in si_emit_streamout_end()
381 static void si_emit_streamout_enable(struct si_context *sctx) in si_emit_streamout_enable()
396 static void si_set_streamout_enable(struct si_context *sctx, bool enable) in si_set_streamout_enable()
413 void si_update_prims_generated_query_state(struct si_context *sct
[all...]
H A Dsi_compute_blit.c31 static bool si_can_use_compute_blit(struct si_context *sctx, enum pipe_format format, in si_can_use_compute_blit()
51 static void si_use_compute_copy_for_float_formats(struct si_context *sctx, in si_use_compute_copy_for_float_formats()
76 static enum si_cache_policy get_cache_policy(struct si_context *sctx, enum si_coherency coher, in get_cache_policy()
88 unsigned si_get_flush_flags(struct si_context *sctx, enum si_coherency coher, in si_get_flush_flags()
106 static bool si_is_buffer_idle(struct si_context *sctx, struct si_resource *buf, in si_is_buffer_idle()
113 static void si_improve_sync_flags(struct si_context *sctx, struct pipe_resource *dst, in si_improve_sync_flags()
151 static void si_launch_grid_internal(struct si_context *sctx, const struct pipe_grid_info *info, in si_launch_grid_internal()
220 void si_launch_grid_internal_ssbos(struct si_context *sctx, struct pipe_grid_info *info, in si_launch_grid_internal_ssbos()
266 void si_compute_clear_buffer_rmw(struct si_context *sctx, struct pipe_resource *dst, in si_compute_clear_buffer_rmw()
307 static void si_compute_clear_12bytes_buffer(struct si_context *sct
[all...]
H A Dgfx10_query.c33 static void emit_shader_query(struct si_context *sctx) in emit_shader_query()
42 static void gfx10_release_query_buffers(struct si_context *sctx, in gfx10_release_query_buffers()
68 static bool gfx10_alloc_query_buffer(struct si_context *sctx) in gfx10_alloc_query_buffer()
138 static void gfx10_sh_query_destroy(struct si_context *sctx, struct si_query *rquery) in gfx10_sh_query_destroy()
145 static bool gfx10_sh_query_begin(struct si_context *sctx, struct si_query *rquery) in gfx10_sh_query_begin()
164 static bool gfx10_sh_query_end(struct si_context *sctx, struct si_query *rquery) in gfx10_sh_query_end()
233 static bool gfx10_sh_query_get_result(struct si_context *sctx, struct si_query *rquery, bool wait, in gfx10_sh_query_get_result()
278 static void gfx10_sh_query_get_result_resource(struct si_context *sctx, struct si_query *rquery, in gfx10_sh_query_get_result_resource()
443 void gfx10_init_query(struct si_context *sctx) in gfx10_init_query()
449 void gfx10_destroy_query(struct si_context *sct
[all...]
H A Dsi_cp_dma.c43 static inline unsigned cp_dma_max_byte_count(struct si_context *sctx) in cp_dma_max_byte_count()
57 static void si_emit_cp_dma(struct si_context *sctx, struct radeon_cmdbuf *cs, uint64_t dst_va, in si_emit_cp_dma()
134 void si_cp_dma_wait_for_idle(struct si_context *sctx, struct radeon_cmdbuf *cs) in si_cp_dma_wait_for_idle()
145 static void si_cp_dma_prepare(struct si_context *sctx, struct pipe_resource *dst, in si_cp_dma_prepare()
189 void si_cp_dma_clear_buffer(struct si_context *sctx, struct radeon_cmdbuf *cs, in si_cp_dma_clear_buffer()
247 static void si_cp_dma_realign_engine(struct si_context *sctx, unsigned size, unsigned user_flags, in si_cp_dma_realign_engine()
285 void si_cp_dma_copy_buffer(struct si_context *sctx, struct pipe_resource *dst, in si_cp_dma_copy_buffer()
400 void si_test_gds(struct si_context *sctx) in si_test_gds()
447 void si_cp_write_data(struct si_context *sctx, struct si_resource *buf, unsigned offset, in si_cp_write_data()
470 void si_cp_copy_data(struct si_context *sct
[all...]
H A Dsi_pipe.c173 ((struct si_context*)sscreen->async_compute_context)->cs_max_waves_per_sh = 2; in si_init_aux_async_compute_ctx()
192 struct si_context *sctx = (struct si_context *)context; in si_destroy_context()
364 struct si_context *sctx = (struct si_context *)ctx; in si_get_reset_status()
383 struct si_context *sctx = (struct si_context *)ctx; in si_set_device_reset_callback()
401 struct si_context *sctx = (struct si_context *)ctx; in si_emit_string_marker()
414 struct si_context *sct in si_set_debug_callback()
[all...]
H A Dsi_compute.c232 struct si_context *sctx = (struct si_context *)ctx; in si_create_compute_state()
297 struct si_context *sctx = (struct si_context *)ctx; in si_bind_compute_state()
338 struct si_context *sctx = (struct si_context *)ctx; in si_set_global_binding()
374 void si_emit_initial_compute_regs(struct si_context *sctx, struct radeon_cmdbuf *cs) in si_emit_initial_compute_regs()
466 static bool si_setup_compute_scratch_buffer(struct si_context *sctx, struct si_shader *shader) in si_setup_compute_scratch_buffer()
501 static bool si_switch_compute_shader(struct si_context *sctx, struct si_compute *program, in si_switch_compute_shader()
599 static void setup_scratch_rsrc_user_sgprs(struct si_context *sct
[all...]
H A Dsi_state_shaders.cpp766 static void si_emit_shader_es(struct si_context *sctx) in si_emit_shader_es()
927 static void si_emit_shader_gs(struct si_context *sctx) in si_emit_shader_gs()
1185 static void gfx10_emit_shader_ngg_tail(struct si_context *sctx, struct si_shader *shader)
1245 static void gfx10_emit_shader_ngg_notess_nogs(struct si_context *sctx)
1254 static void gfx10_emit_shader_ngg_tess_nogs(struct si_context *sctx)
1268 static void gfx10_emit_shader_ngg_notess_gs(struct si_context *sctx)
1282 static void gfx10_emit_shader_ngg_tess_gs(struct si_context *sctx)
1565 static void si_emit_shader_vs(struct si_context *sctx)
1795 static void si_emit_shader_ps(struct si_context *sctx)
2079 static void si_clear_vs_key_inputs(struct si_context *sct
[all...]
H A Dsi_gfx_cs.c34 void si_flush_gfx_cs(struct si_context *ctx, unsigned flags, struct pipe_fence_handle **fence) in si_flush_gfx_cs()
181 static void si_begin_gfx_cs_debug(struct si_context *ctx) in si_begin_gfx_cs_debug()
210 static void si_add_gds_to_buffer_list(struct si_context *sctx) in si_add_gds_to_buffer_list()
220 void si_allocate_gds(struct si_context *sctx) in si_allocate_gds()
242 void si_set_tracked_regs_to_clear_state(struct si_context *ctx) in si_set_tracked_regs_to_clear_state()
315 void si_install_draw_wrapper(struct si_context *sctx, pipe_draw_vbo_func wrapper, in si_install_draw_wrapper()
334 static void si_tmz_preamble(struct si_context *sctx) in si_tmz_preamble()
349 struct si_context *sctx = (struct si_context *)ctx; in si_draw_vbo_tmz_preamble()
361 struct si_context *sct in si_draw_vstate_tmz_preamble()
[all...]
H A Dsi_state_binning.c63 static struct uvec2 si_get_color_bin_size(struct si_context *sctx, unsigned cb_target_enabled_4bit) in si_get_color_bin_size()
177 static struct uvec2 si_get_depth_bin_size(struct si_context *sctx) in si_get_depth_bin_size()
302 static void gfx10_get_bin_sizes(struct si_context *sctx, unsigned cb_target_enabled_4bit, in gfx10_get_bin_sizes()
405 static void si_emit_dpbb_disable(struct si_context *sctx) in si_emit_dpbb_disable()
442 void si_emit_dpbb_state(struct si_context *sctx) in si_emit_dpbb_state()
H A Dsi_state.c71 static void si_emit_cb_render_state(struct si_context *sctx) in si_emit_cb_render_state()
442 struct si_context *sctx = (struct si_context *)ctx; in si_create_blend_state_mode()
652 static bool si_check_blend_dst_sampler_noop(struct si_context *sctx) in si_check_blend_dst_sampler_noop()
706 struct si_context *sctx = (struct si_context *)ctx; in si_draw_blend_dst_sampler_noop()
720 struct si_context *sctx = (struct si_context *)ctx; in si_draw_vstate_blend_dst_sampler_noop()
730 struct si_context *sctx = (struct si_context *)ct in si_bind_blend_state()
[all...]
H A Dsi_pm4.c119 void si_pm4_free_state(struct si_context *sctx, struct si_pm4_state *state, unsigned idx) in si_pm4_free_state()
137 void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state) in si_pm4_emit()
154 void si_pm4_reset_emitted(struct si_context *sctx, bool first_cs) in si_pm4_reset_emitted()
H A Dsi_shaderlib_nir.c29 static void *create_shader_state(struct si_context *sctx, nir_shader *nir) in create_shader_state()
86 void *si_create_copy_image_cs(struct si_context *sctx, bool src_is_1d_array, bool dst_is_1d_array) in si_create_copy_image_cs()
139 void *si_create_dcc_retile_cs(struct si_context *sctx, struct radeon_surf *surf) in si_create_dcc_retile_cs()
187 void *gfx9_create_clear_dcc_msaa_cs(struct si_context *sctx, struct si_texture *tex) in gfx9_create_clear_dcc_msaa_cs()
234 void *si_create_clear_buffer_rmw_cs(struct si_context *sctx) in si_create_clear_buffer_rmw_cs()
275 void *si_create_passthrough_tcs(struct si_context *sctx) in si_create_passthrough_tcs()

Completed in 31 milliseconds

12