Home
last modified time | relevance | path

Searched refs:si_context (Results 1 – 25 of 27) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.h327 void si_get_pipe_constant_buffer(struct si_context *sctx, uint shader,
329 void si_get_shader_buffers(struct si_context *sctx,
338 void si_init_all_descriptors(struct si_context *sctx);
339 bool si_upload_vertex_buffer_descriptors(struct si_context *sctx);
340 bool si_upload_graphics_shader_descriptors(struct si_context *sctx);
341 bool si_upload_compute_shader_descriptors(struct si_context *sctx);
342 void si_release_all_descriptors(struct si_context *sctx);
343 void si_all_descriptors_begin_new_cs(struct si_context *sctx);
344 void si_all_resident_buffers_begin_new_cs(struct si_context *sctx);
345 void si_upload_const_buffer(struct si_context *sctx, struct r600_resource **rbuffer,
[all …]
Dsi_pipe.h416 struct si_context *ctx;
426 struct si_context { struct
633 void cik_init_sdma_functions(struct si_context *sctx); argument
646 void si_init_blit_functions(struct si_context *sctx);
647 void si_decompress_textures(struct si_context *sctx, unsigned shader_mask);
657 void vi_dcc_clear_level(struct si_context *sctx,
660 void si_init_clear_functions(struct si_context *sctx);
683 void si_copy_buffer(struct si_context *sctx,
687 void cik_prefetch_TC_L2_async(struct si_context *sctx, struct pipe_resource *buf,
689 void cik_emit_prefetch_L2(struct si_context *sctx);
[all …]
Dsi_descriptors.c135 static bool si_upload_descriptors(struct si_context *sctx, in si_upload_descriptors()
190 si_descriptors_begin_new_cs(struct si_context *sctx, struct si_descriptors *desc) in si_descriptors_begin_new_cs()
221 si_sampler_and_image_descriptors(struct si_context *sctx, unsigned shader) in si_sampler_and_image_descriptors()
235 static void si_sampler_view_add_buffer(struct si_context *sctx, in si_sampler_view_add_buffer()
274 static void si_sampler_views_begin_new_cs(struct si_context *sctx, in si_sampler_views_begin_new_cs()
425 static void si_set_sampler_view_desc(struct si_context *sctx, in si_set_sampler_view_desc()
492 static void si_set_sampler_view(struct si_context *sctx, in si_set_sampler_view()
559 static void si_update_shader_needs_decompress_mask(struct si_context *sctx, in si_update_shader_needs_decompress_mask()
578 struct si_context *sctx = (struct si_context *)ctx; in si_set_sampler_views()
631 si_image_views_begin_new_cs(struct si_context *sctx, struct si_images *images) in si_image_views_begin_new_cs()
[all …]
Dsi_state_viewport.c37 struct si_context *ctx = (struct si_context *)pctx; in si_set_scissor_states()
54 static void si_get_scissor_from_viewport(struct si_context *ctx, in si_get_scissor_from_viewport()
85 static void si_clamp_scissor(struct si_context *ctx, in si_clamp_scissor()
113 static void si_emit_one_scissor(struct si_context *ctx, in si_emit_one_scissor()
140 static void si_emit_guardband(struct si_context *ctx, in si_emit_guardband()
216 struct si_context *ctx = (struct si_context *)rctx; in si_emit_scissors()
268 struct si_context *ctx = (struct si_context *)pctx; in si_set_viewport_states()
288 static void si_emit_one_viewport(struct si_context *ctx, in si_emit_one_viewport()
301 static void si_emit_viewports(struct si_context *ctx) in si_emit_viewports()
343 static void si_emit_depth_ranges(struct si_context *ctx) in si_emit_depth_ranges()
[all …]
Dsi_state_streamout.c31 static void si_set_streamout_enable(struct si_context *sctx, bool enable);
45 struct si_context *sctx = (struct si_context *)ctx; in si_create_so_target()
82 void si_streamout_buffers_dirty(struct si_context *sctx) in si_streamout_buffers_dirty()
96 struct si_context *sctx = (struct si_context *)ctx; in si_set_streamout_targets()
232 static void si_flush_vgt_streamout(struct si_context *sctx) in si_flush_vgt_streamout()
260 struct si_context *sctx = (struct si_context*)rctx; in si_emit_streamout_begin()
314 void si_emit_streamout_end(struct si_context *sctx) in si_emit_streamout_end()
364 struct si_context *sctx = (struct si_context*)rctx; in si_emit_streamout_enable()
378 static void si_set_streamout_enable(struct si_context *sctx, bool enable) in si_set_streamout_enable()
395 void si_update_prims_generated_query_state(struct si_context *sctx, in si_update_prims_generated_query_state()
[all …]
Dsi_pm4.h33 struct si_context;
65 void si_pm4_upload_indirect_buffer(struct si_context *sctx,
69 void si_pm4_free_state(struct si_context *sctx,
73 void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state);
74 void si_pm4_reset_emitted(struct si_context *sctx);
Dsi_cp_dma.c46 static inline unsigned cp_dma_max_byte_count(struct si_context *sctx) in cp_dma_max_byte_count()
61 static void si_emit_cp_dma(struct si_context *sctx, uint64_t dst_va, in si_emit_cp_dma()
131 static unsigned get_flush_flags(struct si_context *sctx, enum r600_coherency coher) in get_flush_flags()
146 static unsigned get_tc_l2_flag(struct si_context *sctx, enum r600_coherency coher) in get_tc_l2_flag()
155 static void si_cp_dma_prepare(struct si_context *sctx, struct pipe_resource *dst, in si_cp_dma_prepare()
210 struct si_context *sctx = (struct si_context*)ctx; in si_clear_buffer()
299 struct si_context *sctx = (struct si_context*)ctx; in si_pipe_clear_buffer()
359 static void si_cp_dma_realign_engine(struct si_context *sctx, unsigned size, in si_cp_dma_realign_engine()
399 void si_copy_buffer(struct si_context *sctx, in si_copy_buffer()
497 void cik_prefetch_TC_L2_async(struct si_context *sctx, struct pipe_resource *buf, in cik_prefetch_TC_L2_async()
[all …]
Dsi_blit.c45 struct si_context *sctx = (struct si_context *)ctx; in si_blitter_begin()
82 struct si_context *sctx = (struct si_context *)ctx; in si_blitter_end()
99 si_blit_dbcb_copy(struct si_context *sctx, in si_blit_dbcb_copy()
191 (struct si_context *)ctx, texture, staging, planes, in si_blit_decompress_depth()
199 si_blit_decompress_zs_planes_in_place(struct si_context *sctx, in si_blit_decompress_zs_planes_in_place()
268 si_blit_decompress_zs_in_place(struct si_context *sctx, in si_blit_decompress_zs_in_place()
302 si_decompress_depth(struct si_context *sctx, in si_decompress_depth()
416 si_decompress_sampler_depth_textures(struct si_context *sctx, in si_decompress_sampler_depth_textures()
449 struct si_context *sctx = (struct si_context *)ctx; in si_blit_decompress_color()
530 si_decompress_color_texture(struct si_context *sctx, struct r600_texture *tex, in si_decompress_color_texture()
[all …]
Dsi_debug.c35 static void si_dump_bo_list(struct si_context *sctx,
59 struct si_context *ctx;
91 static void si_dump_gfx_shader(struct si_context *ctx, in si_dump_gfx_shader()
108 static void si_dump_compute_shader(struct si_context *ctx, in si_dump_compute_shader()
225 static void si_dump_mmapped_reg(struct si_context *sctx, FILE *f, in si_dump_mmapped_reg()
235 static void si_dump_debug_registers(struct si_context *sctx, FILE *f) in si_dump_debug_registers()
277 struct si_context *ctx;
335 struct si_context *ctx = chunk->ctx; in si_log_chunk_type_cs_print()
389 static void si_log_cs(struct si_context *ctx, struct u_log_context *log, in si_log_cs()
416 struct si_context *ctx = (struct si_context *)data; in si_auto_log_cs()
[all …]
Dsi_compute.c152 struct si_context *sctx = (struct si_context *)ctx; in si_create_compute_state()
226 struct si_context *sctx = (struct si_context*)ctx; in si_bind_compute_state()
253 struct si_context *sctx = (struct si_context*)ctx; in si_set_global_binding()
277 static void si_initialize_compute(struct si_context *sctx) in si_initialize_compute()
330 static bool si_setup_compute_scratch_buffer(struct si_context *sctx, in si_setup_compute_scratch_buffer()
368 static bool si_switch_compute_shader(struct si_context *sctx, in si_switch_compute_shader()
474 static void setup_scratch_rsrc_user_sgprs(struct si_context *sctx, in setup_scratch_rsrc_user_sgprs()
517 static void si_setup_user_sgprs_co_v2(struct si_context *sctx, in si_setup_user_sgprs_co_v2()
608 static bool si_upload_compute_input(struct si_context *sctx, in si_upload_compute_input()
672 static void si_setup_tgsi_grid(struct si_context *sctx, in si_setup_tgsi_grid()
[all …]
Dsi_state.c39 si_init_external_atom(struct si_context *sctx, struct r600_atom *atom, in si_init_external_atom()
47 void si_init_atom(struct si_context *sctx, struct r600_atom *atom, in si_init_atom()
49 void (*emit_func)(struct si_context *ctx, struct r600_atom *state)) in si_init_atom()
87 static void si_emit_cb_render_state(struct si_context *sctx, struct r600_atom *atom) in si_emit_cb_render_state()
470 struct si_context *sctx = (struct si_context*)ctx; in si_create_blend_state_mode()
666 struct si_context *sctx = (struct si_context *)ctx; in si_bind_blend_state()
710 struct si_context *sctx = (struct si_context *)ctx; in si_delete_blend_state()
717 struct si_context *sctx = (struct si_context *)ctx; in si_set_blend_color()
725 static void si_emit_blend_color(struct si_context *sctx, struct r600_atom *atom) in si_emit_blend_color()
740 struct si_context *sctx = (struct si_context *)ctx; in si_set_clip_state()
[all …]
Dsi_pipe.c108 struct si_context *sctx = (struct si_context *)context; in si_destroy_context()
183 struct si_context *sctx = (struct si_context *)ctx; in si_amdgpu_get_reset_status()
199 struct si_context *sctx = (struct si_context *)ctx; in si_emit_string_marker()
222 struct si_context *sctx = (struct si_context *)ctx; in si_set_debug_callback()
237 struct si_context *sctx = (struct si_context *)ctx; in si_set_log_context()
247 struct si_context *sctx = CALLOC_STRUCT(si_context); in si_create_context()
464 &((struct si_context*)ctx)->b.tc); in si_pipe_create_context()
593 struct si_context *sctx = (struct si_context *)ctx; in si_test_vmfault()
Dsi_uvd.c41 struct si_context *ctx = (struct si_context *)pipe; in si_video_buffer_create()
146 struct si_context *ctx = (struct si_context *)context; in si_uvd_create_decoder()
Dsi_state_shaders.c1124 static unsigned si_get_alpha_test_func(struct si_context *sctx) in si_get_alpha_test_func()
1133 static void si_shader_selector_key_vs(struct si_context *sctx, in si_shader_selector_key_vs()
1156 static void si_shader_selector_key_hw_vs(struct si_context *sctx, in si_shader_selector_key_hw_vs()
1213 struct si_context *sctx = (struct si_context *)ctx; in si_shader_selector_key()
1734 struct si_context *sctx = (struct si_context *)ctx; in si_shader_select()
1979 struct si_context *sctx = (struct si_context*)ctx; in si_create_shader_selector()
2242 static void si_update_streamout_state(struct si_context *sctx) in si_update_streamout_state()
2254 static void si_update_clip_regs(struct si_context *sctx, in si_update_clip_regs()
2274 static void si_update_common_shader_state(struct si_context *sctx) in si_update_common_shader_state()
2293 struct si_context *sctx = (struct si_context *)ctx; in si_bind_vs_shader()
[all …]
Dsi_pm4.c109 void si_pm4_free_state(struct si_context *sctx, in si_pm4_free_state()
124 void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state) in si_pm4_emit()
149 void si_pm4_reset_emitted(struct si_context *sctx) in si_pm4_reset_emitted()
155 void si_pm4_upload_indirect_buffer(struct si_context *sctx, in si_pm4_upload_indirect_buffer()
Dsi_dma.c29 static void si_dma_copy_buffer(struct si_context *ctx, in si_dma_copy_buffer()
84 struct si_context *sctx = (struct si_context *)ctx; in si_dma_clear_buffer()
118 static void si_dma_copy_tile(struct si_context *ctx, in si_dma_copy_tile()
226 struct si_context *sctx = (struct si_context *)ctx; in si_dma_copy()
324 void si_init_dma_functions(struct si_context *sctx) in si_init_dma_functions()
Dsi_state_binning.c67 static struct uvec2 si_get_color_bin_size(struct si_context *sctx, in si_get_color_bin_size()
192 static struct uvec2 si_get_depth_bin_size(struct si_context *sctx) in si_get_depth_bin_size()
327 static void si_emit_dpbb_disable(struct si_context *sctx) in si_emit_dpbb_disable()
338 void si_emit_dpbb_state(struct si_context *sctx, struct r600_atom *state) in si_emit_dpbb_state()
Dsi_clear.c193 void vi_dcc_clear_level(struct si_context *sctx, in vi_dcc_clear_level()
344 static void si_do_fast_color_clear(struct si_context *sctx, in si_do_fast_color_clear()
520 struct si_context *sctx = (struct si_context *)ctx; in si_clear()
635 struct si_context *sctx = (struct si_context *)ctx; in si_clear_render_target()
653 struct si_context *sctx = (struct si_context *)ctx; in si_clear_depth_stencil()
727 void si_init_clear_functions(struct si_context *sctx) in si_init_clear_functions()
Dcik_sdma.c28 static void cik_sdma_copy_buffer(struct si_context *ctx, in cik_sdma_copy_buffer()
75 struct si_context *sctx = (struct si_context *)ctx; in cik_sdma_clear_buffer()
116 static unsigned encode_tile_info(struct si_context *sctx, in encode_tile_info()
138 static bool cik_sdma_copy_texture(struct si_context *sctx, in cik_sdma_copy_texture()
532 struct si_context *sctx = (struct si_context *)ctx; in cik_sdma_copy()
554 void cik_init_sdma_functions(struct si_context *sctx) in cik_init_sdma_functions()
Dsi_state_draw.c95 static void si_emit_derived_tess_state(struct si_context *sctx, in si_emit_derived_tess_state()
450 void si_init_ia_multi_vgt_param_table(struct si_context *sctx) in si_init_ia_multi_vgt_param_table()
479 static unsigned si_get_ia_multi_vgt_param(struct si_context *sctx, in si_get_ia_multi_vgt_param()
531 static void si_emit_rasterizer_prim_state(struct si_context *sctx) in si_emit_rasterizer_prim_state()
560 static void si_emit_vs_state(struct si_context *sctx, in si_emit_vs_state()
584 static void si_emit_draw_registers(struct si_context *sctx, in si_emit_draw_registers()
641 static void si_emit_draw_packets(struct si_context *sctx, in si_emit_draw_packets()
871 void si_emit_cache_flush(struct si_context *sctx) in si_emit_cache_flush()
1108 static void si_get_draw_start_count(struct si_context *sctx, in si_get_draw_start_count()
1174 static void si_emit_all_states(struct si_context *sctx, const struct pipe_draw_info *info, in si_emit_all_states()
[all …]
Dsi_fence.c145 static void si_fine_fence_set(struct si_context *ctx, in si_fine_fence_set()
246 struct si_context *sctx; in si_fence_finish()
248 sctx = (struct si_context *)threaded_context_unwrap_unsync(ctx); in si_fence_finish()
392 si_fine_fence_set((struct si_context *)rctx, &fine, flags); in si_flush_from_st()
466 void si_init_fence_functions(struct si_context *ctx) in si_init_fence_functions()
Dsi_hw_context.c37 void si_need_cs_space(struct si_context *ctx) in si_need_cs_space()
72 struct si_context *ctx = context; in si_context_gfx_flush()
155 static void si_begin_cs_debug(struct si_context *ctx) in si_begin_cs_debug()
185 void si_begin_new_cs(struct si_context *ctx) in si_begin_new_cs()
Dsi_shader.h686 void si_destroy_shader_selector(struct si_context *sctx,
690 si_shader_selector_reference(struct si_context *sctx, in si_shader_selector_reference()
Dsi_test_dma.c178 struct si_context *sctx = (struct si_context*)ctx; in si_test_dma()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_pipe_common.h49 struct si_context;
548 void si_init_buffer_functions(struct si_context *sctx);

12