Home
last modified time | relevance | path

Searched defs:sctx (Results 1 – 25 of 53) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_streamout.c42 struct si_context *sctx = (struct si_context *)ctx; in si_create_so_target() local
77 void si_streamout_buffers_dirty(struct si_context *sctx) in si_streamout_buffers_dirty()
90 struct si_context *sctx = (struct si_context *)ctx; in si_set_streamout_targets() local
213 static void gfx10_emit_streamout_begin(struct si_context *sctx) in gfx10_emit_streamout_begin()
253 static void gfx10_emit_streamout_end(struct si_context *sctx) in gfx10_emit_streamout_end()
273 static void si_flush_vgt_streamout(struct si_context *sctx) in si_flush_vgt_streamout()
300 static void si_emit_streamout_begin(struct si_context *sctx) in si_emit_streamout_begin()
351 void si_emit_streamout_end(struct si_context *sctx) in si_emit_streamout_end()
401 static void si_emit_streamout_enable(struct si_context *sctx) in si_emit_streamout_enable()
415 static void si_set_streamout_enable(struct si_context *sctx, bool enable) in si_set_streamout_enable()
[all …]
Dsi_descriptors.c128 static bool si_upload_descriptors(struct si_context *sctx, struct si_descriptors *desc) in si_upload_descriptors()
183 si_add_descriptors_to_bo_list(struct si_context *sctx, struct si_descriptors *desc) in si_add_descriptors_to_bo_list()
205 static struct si_descriptors *si_sampler_and_image_descriptors(struct si_context *sctx, in si_sampler_and_image_descriptors()
220 static void si_sampler_view_add_buffer(struct si_context *sctx, struct pipe_resource *resource, in si_sampler_view_add_buffer()
248 static void si_sampler_views_begin_new_cs(struct si_context *sctx, struct si_samplers *samplers) in si_sampler_views_begin_new_cs()
262 static bool si_sampler_views_check_encrypted(struct si_context *sctx, struct si_samplers *samplers, in si_sampler_views_check_encrypted()
446 static void si_set_sampler_view_desc(struct si_context *sctx, struct si_sampler_view *sview, in si_set_sampler_view_desc()
501 static void si_set_sampler_view(struct si_context *sctx, unsigned shader, unsigned slot, in si_set_sampler_view()
563 static void si_update_shader_needs_decompress_mask(struct si_context *sctx, unsigned shader) in si_update_shader_needs_decompress_mask()
578 struct si_context *sctx = (struct si_context *)ctx; in si_set_sampler_views() local
[all …]
Dsi_blit.c44 void si_blitter_begin(struct si_context *sctx, enum si_blitter_op op) in si_blitter_begin()
85 void si_blitter_end(struct si_context *sctx) in si_blitter_end()
107 static unsigned si_blit_dbcb_copy(struct si_context *sctx, struct si_texture *src, in si_blit_dbcb_copy()
179 static void si_blit_decompress_zs_planes_in_place(struct si_context *sctx, in si_blit_decompress_zs_planes_in_place()
246 static void si_blit_decompress_zs_in_place(struct si_context *sctx, struct si_texture *texture, in si_blit_decompress_zs_in_place()
272 static void si_decompress_depth(struct si_context *sctx, struct si_texture *tex, in si_decompress_depth()
387 static void si_decompress_sampler_depth_textures(struct si_context *sctx, in si_decompress_sampler_depth_textures()
413 static void si_blit_decompress_color(struct si_context *sctx, struct si_texture *tex, in si_blit_decompress_color()
503 static void si_decompress_color_texture(struct si_context *sctx, struct si_texture *tex, in si_decompress_color_texture()
517 static void si_decompress_sampler_color_textures(struct si_context *sctx, in si_decompress_sampler_color_textures()
[all …]
Dsi_cp_dma.c42 static inline unsigned cp_dma_max_byte_count(struct si_context *sctx) in cp_dma_max_byte_count()
55 static void si_emit_cp_dma(struct si_context *sctx, struct radeon_cmdbuf *cs, uint64_t dst_va, in si_emit_cp_dma()
135 void si_cp_dma_wait_for_idle(struct si_context *sctx) in si_cp_dma_wait_for_idle()
146 static void si_cp_dma_prepare(struct si_context *sctx, struct pipe_resource *dst, in si_cp_dma_prepare()
200 void si_cp_dma_clear_buffer(struct si_context *sctx, struct radeon_cmdbuf *cs, in si_cp_dma_clear_buffer()
253 static void si_cp_dma_realign_engine(struct si_context *sctx, unsigned size, unsigned user_flags, in si_cp_dma_realign_engine()
290 void si_cp_dma_copy_buffer(struct si_context *sctx, struct pipe_resource *dst, in si_cp_dma_copy_buffer()
402 void cik_prefetch_TC_L2_async(struct si_context *sctx, struct pipe_resource *buf, uint64_t offset, in cik_prefetch_TC_L2_async()
411 static void cik_prefetch_shader_async(struct si_context *sctx, struct si_pm4_state *state) in cik_prefetch_shader_async()
418 static void cik_prefetch_VBO_descriptors(struct si_context *sctx) in cik_prefetch_VBO_descriptors()
[all …]
Dsi_query.c60 static void si_query_sw_destroy(struct si_context *sctx, struct si_query *squery) in si_query_sw_destroy()
116 static int64_t si_finish_dma_get_cpu_time(struct si_context *sctx) in si_finish_dma_get_cpu_time()
129 static bool si_query_sw_begin(struct si_context *sctx, struct si_query *squery) in si_query_sw_begin()
309 static bool si_query_sw_end(struct si_context *sctx, struct si_query *squery) in si_query_sw_end()
492 static bool si_query_sw_get_result(struct si_context *sctx, struct si_query *squery, bool wait, in si_query_sw_get_result()
593 void si_query_buffer_reset(struct si_context *sctx, struct si_query_buffer *buffer) in si_query_buffer_reset()
618 bool si_query_buffer_alloc(struct si_context *sctx, struct si_query_buffer *buffer, in si_query_buffer_alloc()
655 void si_query_hw_destroy(struct si_context *sctx, struct si_query *squery) in si_query_hw_destroy()
664 static bool si_query_hw_prepare_buffer(struct si_context *sctx, struct si_query_buffer *qbuf) in si_query_hw_prepare_buffer()
784 static void si_update_occlusion_query_state(struct si_context *sctx, unsigned type, int diff) in si_update_occlusion_query_state()
[all …]
Dsi_state_shaders.c560 static void si_emit_shader_es(struct si_context *sctx) in si_emit_shader_es()
723 static void si_emit_shader_gs(struct si_context *sctx) in si_emit_shader_gs()
920 static void gfx10_emit_ge_pc_alloc(struct si_context *sctx, unsigned value) in gfx10_emit_ge_pc_alloc()
942 static void gfx10_emit_shader_ngg_tail(struct si_context *sctx, struct si_shader *shader, in gfx10_emit_shader_ngg_tail()
980 static void gfx10_emit_shader_ngg_notess_nogs(struct si_context *sctx) in gfx10_emit_shader_ngg_notess_nogs()
991 static void gfx10_emit_shader_ngg_tess_nogs(struct si_context *sctx) in gfx10_emit_shader_ngg_tess_nogs()
1005 static void gfx10_emit_shader_ngg_notess_gs(struct si_context *sctx) in gfx10_emit_shader_ngg_notess_gs()
1019 static void gfx10_emit_shader_ngg_tess_gs(struct si_context *sctx) in gfx10_emit_shader_ngg_tess_gs()
1300 static void si_emit_shader_vs(struct si_context *sctx) in si_emit_shader_vs()
1528 static void si_emit_shader_ps(struct si_context *sctx) in si_emit_shader_ps()
[all …]
Dsi_state.c69 static void si_emit_cb_render_state(struct si_context *sctx) in si_emit_cb_render_state()
433 struct si_context *sctx = (struct si_context *)ctx; in si_create_blend_state_mode() local
631 struct si_context *sctx = (struct si_context *)ctx; in si_bind_blend_state() local
670 struct si_context *sctx = (struct si_context *)ctx; in si_delete_blend_state() local
680 struct si_context *sctx = (struct si_context *)ctx; in si_set_blend_color() local
688 static void si_emit_blend_color(struct si_context *sctx) in si_emit_blend_color()
702 struct si_context *sctx = (struct si_context *)ctx; in si_set_clip_state() local
721 static void si_emit_clip_state(struct si_context *sctx) in si_emit_clip_state()
729 static void si_emit_clip_regs(struct si_context *sctx) in si_emit_clip_regs()
776 static void si_update_poly_offset_state(struct si_context *sctx) in si_update_poly_offset_state()
[all …]
Dgfx10_query.c80 static void emit_shader_query(struct si_context *sctx) in emit_shader_query()
89 static void gfx10_release_query_buffers(struct si_context *sctx, in gfx10_release_query_buffers()
115 static bool gfx10_alloc_query_buffer(struct si_context *sctx) in gfx10_alloc_query_buffer()
185 static void gfx10_sh_query_destroy(struct si_context *sctx, struct si_query *rquery) in gfx10_sh_query_destroy()
192 static bool gfx10_sh_query_begin(struct si_context *sctx, struct si_query *rquery) in gfx10_sh_query_begin()
211 static bool gfx10_sh_query_end(struct si_context *sctx, struct si_query *rquery) in gfx10_sh_query_end()
282 static bool gfx10_sh_query_get_result(struct si_context *sctx, struct si_query *rquery, bool wait, in gfx10_sh_query_get_result()
327 static void gfx10_sh_query_get_result_resource(struct si_context *sctx, struct si_query *rquery, in gfx10_sh_query_get_result_resource()
491 void gfx10_init_query(struct si_context *sctx) in gfx10_init_query()
497 void gfx10_destroy_query(struct si_context *sctx) in gfx10_destroy_query()
Dsi_state_draw.c68 static void si_emit_derived_tess_state(struct si_context *sctx, const struct pipe_draw_info *info, in si_emit_derived_tess_state()
443 static void si_init_ia_multi_vgt_param_table(struct si_context *sctx) in si_init_ia_multi_vgt_param_table()
472 static bool si_is_line_stipple_enabled(struct si_context *sctx) in si_is_line_stipple_enabled()
481 static unsigned si_get_ia_multi_vgt_param(struct si_context *sctx, in si_get_ia_multi_vgt_param()
563 static void si_emit_rasterizer_prim_state(struct si_context *sctx) in si_emit_rasterizer_prim_state()
600 static void si_emit_vs_state(struct si_context *sctx, const struct pipe_draw_info *info) in si_emit_vs_state()
641 static bool si_prim_restart_index_changed(struct si_context *sctx, bool primitive_restart, in si_prim_restart_index_changed()
649 static void si_emit_ia_multi_vgt_param(struct si_context *sctx, const struct pipe_draw_info *info, in si_emit_ia_multi_vgt_param()
679 static void gfx10_emit_ge_cntl(struct si_context *sctx, unsigned num_patches) in gfx10_emit_ge_cntl()
721 static void si_emit_draw_registers(struct si_context *sctx, const struct pipe_draw_info *info, in si_emit_draw_registers()
[all …]
Dsi_compute.c224 struct si_context *sctx = (struct si_context *)ctx; in si_create_compute_state() local
286 struct si_context *sctx = (struct si_context *)ctx; in si_bind_compute_state() local
312 struct si_context *sctx = (struct si_context *)ctx; in si_set_global_binding() local
348 void si_emit_initial_compute_regs(struct si_context *sctx, struct radeon_cmdbuf *cs) in si_emit_initial_compute_regs()
409 static bool si_setup_compute_scratch_buffer(struct si_context *sctx, struct si_shader *shader, in si_setup_compute_scratch_buffer()
443 static bool si_switch_compute_shader(struct si_context *sctx, struct si_compute *program, in si_switch_compute_shader()
536 static void setup_scratch_rsrc_user_sgprs(struct si_context *sctx, in setup_scratch_rsrc_user_sgprs()
572 static void si_setup_user_sgprs_co_v2(struct si_context *sctx, const amd_kernel_code_t *code_object, in si_setup_user_sgprs_co_v2()
651 static bool si_upload_compute_input(struct si_context *sctx, const amd_kernel_code_t *code_object, in si_upload_compute_input()
685 static void si_setup_nir_user_data(struct si_context *sctx, const struct pipe_grid_info *info) in si_setup_nir_user_data()
[all …]
Dsi_compute_blit.c33 static enum si_cache_policy get_cache_policy(struct si_context *sctx, enum si_coherency coher, in get_cache_policy()
45 unsigned si_get_flush_flags(struct si_context *sctx, enum si_coherency coher, in si_get_flush_flags()
67 static void si_launch_grid_internal(struct si_context *sctx, struct pipe_grid_info *info, in si_launch_grid_internal()
117 static void si_compute_clear_12bytes_buffer(struct si_context *sctx, struct pipe_resource *dst, in si_compute_clear_12bytes_buffer()
179 static void si_compute_do_clear_or_copy(struct si_context *sctx, struct pipe_resource *dst, in si_compute_do_clear_or_copy()
279 void si_clear_buffer(struct si_context *sctx, struct pipe_resource *dst, uint64_t offset, in si_clear_buffer()
385 void si_copy_buffer(struct si_context *sctx, struct pipe_resource *dst, struct pipe_resource *src, in si_copy_buffer()
422 void si_compute_copy_image(struct si_context *sctx, struct pipe_resource *dst, unsigned dst_level, in si_compute_copy_image()
610 void si_retile_dcc(struct si_context *sctx, struct si_texture *tex) in si_retile_dcc()
688 struct si_context *sctx = (struct si_context *)ctx; in si_compute_expand_fmask() local
[all …]
Dsi_pipe.c174 struct si_context *sctx = (struct si_context *)context; in si_destroy_context() local
333 struct si_context *sctx = (struct si_context *)ctx; in si_get_reset_status() local
364 struct si_context *sctx = (struct si_context *)ctx; in si_set_device_reset_callback() local
382 struct si_context *sctx = (struct si_context *)ctx; in si_emit_string_marker() local
392 struct si_context *sctx = (struct si_context *)ctx; in si_set_debug_callback() local
406 struct si_context *sctx = (struct si_context *)ctx; in si_set_log_context() local
428 struct si_context *sctx = (struct si_context *)ctx; in si_set_frontend_noop() local
443 struct si_context *sctx = CALLOC_STRUCT(si_context); in si_create_context() local
868 struct si_context *sctx = (struct si_context *)ctx; in si_test_vmfault() local
895 static void si_test_gds_memory_management(struct si_context *sctx, unsigned alloc_size, in si_test_gds_memory_management()
Dsi_buffer.c33 bool si_rings_is_buffer_referenced(struct si_context *sctx, struct pb_buffer *buf, in si_rings_is_buffer_referenced()
46 void *si_buffer_map_sync_with_rings(struct si_context *sctx, struct si_resource *resource, in si_buffer_map_sync_with_rings()
276 static bool si_invalidate_buffer(struct si_context *sctx, struct si_resource *buf) in si_invalidate_buffer()
309 struct si_context *sctx = (struct si_context *)ctx; in si_replace_buffer_storage() local
331 struct si_context *sctx = (struct si_context *)ctx; in si_invalidate_resource() local
344 struct si_context *sctx = (struct si_context *)ctx; in si_buffer_get_transfer() local
372 struct si_context *sctx = (struct si_context *)ctx; in si_buffer_transfer_map() local
521 struct si_context *sctx = (struct si_context *)ctx; in si_buffer_do_flush_region() local
591 struct si_context *sctx = (struct si_context *)ctx; in si_buffer_transfer_unmap() local
816 void si_init_buffer_functions(struct si_context *sctx) in si_init_buffer_functions()
Dsi_pm4.c97 void si_pm4_free_state(struct si_context *sctx, struct si_pm4_state *state, unsigned idx) in si_pm4_free_state()
110 void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state) in si_pm4_emit()
125 void si_pm4_reset_emitted(struct si_context *sctx, bool first_cs) in si_pm4_reset_emitted()
Dsi_gfx_cs.c62 void si_unref_sdma_uploads(struct si_context *sctx) in si_unref_sdma_uploads()
297 static void si_add_gds_to_buffer_list(struct si_context *sctx) in si_add_gds_to_buffer_list()
307 void si_allocate_gds(struct si_context *sctx) in si_allocate_gds()
Dsi_texture.c49 bool si_prepare_for_dma_blit(struct si_context *sctx, struct si_texture *dst, unsigned dst_level, in si_prepare_for_dma_blit()
142 struct si_context *sctx = (struct si_context *)ctx; in si_copy_to_staging_texture() local
158 struct si_context *sctx = (struct si_context *)ctx; in si_copy_from_staging_texture() local
327 void si_eliminate_fast_color_clear(struct si_context *sctx, struct si_texture *tex, in si_eliminate_fast_color_clear()
420 bool si_texture_disable_dcc(struct si_context *sctx, struct si_texture *tex) in si_texture_disable_dcc()
443 static void si_reallocate_texture_inplace(struct si_context *sctx, struct si_texture *tex, in si_reallocate_texture_inplace()
675 struct si_context *sctx; in si_texture_get_handle() local
1187 struct si_context *sctx = (struct si_context *)sscreen->aux_context; in si_texture_create_object() local
1610 static void si_texture_invalidate_storage(struct si_context *sctx, struct si_texture *tex) in si_texture_invalidate_storage()
1633 struct si_context *sctx = (struct si_context *)ctx; in si_texture_transfer_map() local
[all …]
Dsi_dma_cs.c28 static void si_dma_emit_wait_idle(struct si_context *sctx) in si_dma_emit_wait_idle()
39 void si_dma_emit_timestamp(struct si_context *sctx, struct si_resource *dst, uint64_t offset) in si_dma_emit_timestamp()
65 void si_sdma_clear_buffer(struct si_context *sctx, struct pipe_resource *dst, uint64_t offset, in si_sdma_clear_buffer()
128 void si_sdma_copy_buffer(struct si_context *sctx, struct pipe_resource *dst, in si_sdma_copy_buffer()
Dsi_build_pm4.h149 static inline void radeon_opt_set_context_reg_rmw(struct si_context *sctx, unsigned offset, in radeon_opt_set_context_reg_rmw()
168 static inline void radeon_opt_set_context_reg(struct si_context *sctx, unsigned offset, in radeon_opt_set_context_reg()
188 static inline void radeon_opt_set_context_reg2(struct si_context *sctx, unsigned offset, in radeon_opt_set_context_reg2()
210 static inline void radeon_opt_set_context_reg3(struct si_context *sctx, unsigned offset, in radeon_opt_set_context_reg3()
235 static inline void radeon_opt_set_context_reg4(struct si_context *sctx, unsigned offset, in radeon_opt_set_context_reg4()
263 static inline void radeon_opt_set_context_regn(struct si_context *sctx, unsigned offset, in radeon_opt_set_context_regn()
Dsi_cp_reg_shadowing.c69 si_create_shadowing_ib_preamble(struct si_context *sctx) in si_create_shadowing_ib_preamble()
147 void si_init_cp_reg_shadowing(struct si_context *sctx) in si_init_cp_reg_shadowing()
Dsi_debug.c294 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()
497 void si_log_hw_flush(struct si_context *sctx) in si_log_hw_flush()
566 static void si_dump_bo_list(struct si_context *sctx, const struct radeon_saved_cs *saved, FILE *f) in si_dump_bo_list()
615 static void si_dump_framebuffer(struct si_context *sctx, struct u_log_context *log) in si_dump_framebuffer()
780 static void si_dump_descriptors(struct si_context *sctx, gl_shader_stage stage, in si_dump_descriptors()
839 static void si_dump_gfx_descriptors(struct si_context *sctx, in si_dump_gfx_descriptors()
849 static void si_dump_compute_descriptors(struct si_context *sctx, struct u_log_context *log) in si_dump_compute_descriptors()
1010 static void si_dump_annotated_shaders(struct si_context *sctx, FILE *f) in si_dump_annotated_shaders()
1061 struct si_context *sctx = (struct si_context *)ctx; in si_dump_debug_state() local
[all …]
Dsi_clear.c216 bool vi_dcc_clear_level(struct si_context *sctx, struct si_texture *tex, unsigned level, in vi_dcc_clear_level()
373 static void si_do_fast_color_clear(struct si_context *sctx, unsigned *buffers, in si_do_fast_color_clear()
550 struct si_context *sctx = (struct si_context *)ctx; in si_clear() local
689 struct si_context *sctx = (struct si_context *)ctx; in si_clear_render_target() local
709 struct si_context *sctx = (struct si_context *)ctx; in si_clear_depth_stencil() local
766 void si_init_clear_functions(struct si_context *sctx) in si_init_clear_functions()
Dsi_fence.c167 static void si_add_fence_dependency(struct si_context *sctx, struct pipe_fence_handle *fence) in si_add_fence_dependency()
176 static void si_add_syncobj_signal(struct si_context *sctx, struct pipe_fence_handle *fence) in si_add_syncobj_signal()
269 struct si_context *sctx; in si_fence_finish() local
465 struct si_context *sctx = (struct si_context *)ctx; in si_flush_from_st() local
554 struct si_context *sctx = (struct si_context *)ctx; in si_fence_server_signal() local
584 struct si_context *sctx = (struct si_context *)ctx; in si_fence_server_sync() local
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()
450 void si_emit_dpbb_state(struct si_context *sctx) in si_emit_dpbb_state()
Dsi_perfcounter.c704 static void si_pc_emit_instance(struct si_context *sctx, int se, int instance) in si_pc_emit_instance()
729 static void si_pc_emit_shaders(struct si_context *sctx, unsigned shaders) in si_pc_emit_shaders()
738 static void si_pc_emit_select(struct si_context *sctx, struct si_pc_block *block, unsigned count, in si_pc_emit_select()
831 static void si_pc_emit_start(struct si_context *sctx, struct si_resource *buffer, uint64_t va) in si_pc_emit_start()
848 static void si_pc_emit_stop(struct si_context *sctx, struct si_resource *buffer, uint64_t va) in si_pc_emit_stop()
865 static void si_pc_emit_read(struct si_context *sctx, struct si_pc_block *block, unsigned count, in si_pc_emit_read()
906 static void si_pc_query_destroy(struct si_context *sctx, struct si_query *squery) in si_pc_query_destroy()
922 static void si_inhibit_clockgating(struct si_context *sctx, bool inhibit) in si_inhibit_clockgating()
933 static void si_pc_query_resume(struct si_context *sctx, struct si_query *squery) in si_pc_query_resume()
970 static void si_pc_query_suspend(struct si_context *sctx, struct si_query *squery) in si_pc_query_suspend()
[all …]
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_core.cpp50 sb_context *sctx = new sb_context(); in r600_sb_context_create() local
73 void r600_sb_context_destroy(void * sctx) { in r600_sb_context_destroy()

123