Home
last modified time | relevance | path

Searched refs:si_screen (Results 1 – 25 of 46) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c48 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_param()
364 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_shader_param()
460 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_compiler_options()
473 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_device_uuid()
480 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_name()
515 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_video_param()
685 static unsigned get_max_threads_per_block(struct si_screen *screen, enum pipe_shader_ir ir_type) in get_max_threads_per_block()
697 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_compute_param()
839 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_timestamp()
847 struct si_screen *sscreen = (struct si_screen *)screen; in si_query_memory_info()
[all …]
Dsi_gpu_load.c80 static void si_update_mmio_counters(struct si_screen *sscreen, union si_mmio_counters *counters) in si_update_mmio_counters()
132 struct si_screen *sscreen = (struct si_screen *)param; in si_gpu_load_thread()
160 void si_gpu_load_kill_thread(struct si_screen *sscreen) in si_gpu_load_kill_thread()
170 static uint64_t si_read_mmio_counter(struct si_screen *sscreen, unsigned busy_index) in si_read_mmio_counter()
187 static unsigned si_end_mmio_counter(struct si_screen *sscreen, uint64_t begin, unsigned busy_index) in si_end_mmio_counter()
213 static unsigned busy_index_from_type(struct si_screen *sscreen, unsigned type) in busy_index_from_type()
263 uint64_t si_begin_counter(struct si_screen *sscreen, unsigned type) in si_begin_counter()
269 unsigned si_end_counter(struct si_screen *sscreen, unsigned type, uint64_t begin) in si_end_counter()
Dsi_query.h34 struct si_screen;
179 void (*add_result)(struct si_screen *screen, struct si_query_hw *, void *buffer,
195 void si_query_buffer_destroy(struct si_screen *sctx, struct si_query_buffer *buffer);
228 struct pipe_query *gfx10_sh_query_create(struct si_screen *screen, enum pipe_query_type query_type,
247 int si_get_perfcounter_info(struct si_screen *, unsigned index,
249 int si_get_perfcounter_group_info(struct si_screen *, unsigned index,
Dsi_pipe.h490 struct si_screen { struct
500 void (*make_texture_descriptor)(struct si_screen *screen, struct si_texture *tex, bool sampler, argument
948 struct si_screen *screen;
1316 void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res, uint64_t size,
1318 bool si_alloc_resource(struct si_screen *sscreen, struct si_resource *res);
1325 void si_init_screen_buffer_functions(struct si_screen *sscreen);
1330 bool vi_alpha_is_on_msb(struct si_screen *sscreen, enum pipe_format format);
1412 void si_screen_clear_buffer(struct si_screen *sscreen, struct pipe_resource *dst, uint64_t offset,
1420 unsigned si_cp_write_fence_dwords(struct si_screen *screen);
1424 void si_init_screen_fence_functions(struct si_screen *screen);
[all …]
Dsi_state.h42 struct si_screen;
487 void si_set_mutable_tex_desc_fields(struct si_screen *sscreen, struct si_texture *tex,
530 void si_init_screen_state_functions(struct si_screen *sscreen);
532 void si_make_buffer_descriptor(struct si_screen *screen, struct si_resource *buf,
562 bool si_shader_cache_load_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20],
564 void si_shader_cache_insert_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20],
567 void si_init_screen_live_shader_cache(struct si_screen *sscreen);
569 bool si_init_shader_cache(struct si_screen *sscreen);
570 void si_destroy_shader_cache(struct si_screen *sscreen);
577 int si_shader_select_with_key(struct si_screen *sscreen, struct si_shader_ctx_state *state,
Dsi_shader.h395 struct si_screen *screen;
829 bool si_compile_shader(struct si_screen *sscreen, struct ac_llvm_compiler *compiler,
831 bool si_create_shader_variant(struct si_screen *sscreen, struct ac_llvm_compiler *compiler,
836 bool si_shader_binary_upload(struct si_screen *sscreen, struct si_shader *shader,
838 void si_shader_dump(struct si_screen *sscreen, struct si_shader *shader,
840 void si_shader_dump_stats_for_shader_db(struct si_screen *screen, struct si_shader *shader,
842 void si_multiwave_lds_size_workaround(struct si_screen *sscreen, unsigned *lds_size);
847 struct si_shader *si_generate_gs_copy_shader(struct si_screen *sscreen,
854 void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool first);
Dsi_fence.c145 unsigned si_cp_write_fence_dwords(struct si_screen *screen) in si_cp_write_fence_dwords()
184 struct radeon_winsys *ws = ((struct si_screen *)screen)->ws; in si_fence_reference()
267 struct radeon_winsys *rws = ((struct si_screen *)screen)->ws; in si_fence_finish()
377 struct si_screen *sscreen = (struct si_screen *)ctx->screen; in si_create_fence_fd()
417 struct si_screen *sscreen = (struct si_screen *)screen; in si_fence_get_fd()
617 void si_init_screen_fence_functions(struct si_screen *screen) in si_init_screen_fence_functions()
Dsi_texture.c45 static enum radeon_surf_mode si_choose_tiling(struct si_screen *sscreen,
181 static unsigned si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, in si_texture_get_offset()
217 static int si_init_surface(struct si_screen *sscreen, struct radeon_surf *surface, in si_init_surface()
330 struct si_screen *sscreen = sctx->screen; in si_eliminate_fast_color_clear()
353 void si_texture_discard_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_cmask()
384 static bool si_texture_discard_dcc(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_dcc()
422 struct si_screen *sscreen = sctx->screen; in si_texture_disable_dcc()
553 static void si_set_tex_bo_metadata(struct si_screen *sscreen, struct si_texture *tex) in si_set_tex_bo_metadata()
582 struct si_screen *sscreen = (struct si_screen *)tex->buffer.b.b.screen; in si_has_displayable_dcc()
599 struct si_screen *sscreen = (struct si_screen *)screen; in si_resource_get_param()
[all …]
Dsi_shader_internal.h49 struct si_screen *screen;
206 void si_fix_resource_usage(struct si_screen *sscreen, struct si_shader *shader);
223 bool si_compile_llvm(struct si_screen *sscreen, struct si_shader_binary *binary,
227 void si_llvm_context_init(struct si_shader_context *ctx, struct si_screen *sscreen,
Dsi_pipe.c139 void si_init_compiler(struct si_screen *sscreen, struct ac_llvm_compiler *compiler) in si_init_compiler()
334 struct si_screen *sscreen = sctx->screen; in si_get_reset_status()
393 struct si_screen *screen = sctx->screen; in si_set_debug_callback()
436 struct si_screen *sscreen = (struct si_screen *)screen; in si_create_context()
754 struct si_screen *sscreen = (struct si_screen *)screen; in si_pipe_create_context()
794 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_destroy_screen()
860 static void si_init_gs_info(struct si_screen *sscreen) in si_init_gs_info()
865 static void si_test_vmfault(struct si_screen *sscreen, uint64_t test_flags) in si_test_vmfault()
927 static void si_disk_cache_create(struct si_screen *sscreen) in si_disk_cache_create()
952 struct si_screen *sscreen = (struct si_screen *)screen; in si_set_max_shader_compiler_threads()
[all …]
Dsi_uvd.c53 struct si_screen *sscreen = (struct si_screen *)buf->base.context->screen; in si_uvd_set_dtb()
Dsi_buffer.c100 void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res, uint64_t size, in si_init_resource_fields()
214 bool si_alloc_resource(struct si_screen *sscreen, struct si_resource *res) in si_alloc_resource()
665 struct si_screen *sscreen = (struct si_screen *)screen; in si_buffer_create()
711 struct si_screen *sscreen = (struct si_screen *)screen; in si_buffer_from_user_memory()
740 struct si_screen *sscreen = (struct si_screen *)screen; in si_buffer_from_winsys_buffer()
809 void si_init_screen_buffer_functions(struct si_screen *sscreen) in si_init_screen_buffer_functions()
Dsi_shader_nir.c416 struct si_screen *sscreen = (struct si_screen *)data; in si_alu_to_scalar_filter()
431 void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool first) in si_nir_opts()
644 static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir) in si_lower_nir()
720 struct si_screen *sscreen = (struct si_screen *)screen; in si_finalize_nir()
Dsi_query.c578 void si_query_buffer_destroy(struct si_screen *sscreen, struct si_query_buffer *buffer) in si_query_buffer_destroy()
637 struct si_screen *screen = sctx->screen; in si_query_buffer_alloc()
668 struct si_screen *screen = sctx->screen; in si_query_hw_prepare_buffer()
711 static void si_query_hw_add_result(struct si_screen *sscreen, struct si_query_hw *, void *buffer,
723 static struct pipe_query *si_query_hw_create(struct si_screen *sscreen, unsigned query_type, in si_query_hw_create()
1097 struct si_screen *sscreen = (struct si_screen *)ctx->screen; in si_create_query()
1264 static void si_query_hw_add_result(struct si_screen *sscreen, struct si_query_hw *query, in si_query_hw_add_result()
1404 struct si_screen *sscreen = sctx->screen; in si_query_hw_get_result()
1766 static unsigned si_get_num_queries(struct si_screen *sscreen) in si_get_num_queries()
1790 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_driver_query_info()
[all …]
Dsi_shader.c781 static bool si_shader_binary_open(struct si_screen *screen, struct si_shader *shader, in si_shader_binary_open()
847 static unsigned si_get_shader_binary_size(struct si_screen *screen, struct si_shader *shader) in si_get_shader_binary_size()
871 bool si_shader_binary_upload(struct si_screen *sscreen, struct si_shader *shader, in si_shader_binary_upload()
907 static void si_shader_dump_disassembly(struct si_screen *screen, in si_shader_dump_disassembly()
969 struct si_screen *sscreen = shader->selector->screen; in si_calculate_max_simd_waves()
1022 void si_shader_dump_stats_for_shader_db(struct si_screen *screen, struct si_shader *shader, in si_shader_dump_stats_for_shader_db()
1040 static void si_shader_dump_stats(struct si_screen *sscreen, struct si_shader *shader, FILE *file, in si_shader_dump_stats()
1109 void si_shader_dump(struct si_screen *sscreen, struct si_shader *shader, in si_shader_dump()
1672 static bool si_llvm_compile_shader(struct si_screen *sscreen, struct ac_llvm_compiler *compiler, in si_llvm_compile_shader()
1902 bool si_compile_shader(struct si_screen *sscreen, struct ac_llvm_compiler *compiler, in si_compile_shader()
[all …]
Dsi_perfcounter.c1087 static struct si_query_group *get_group_state(struct si_screen *screen, struct si_query_pc *query, in get_group_state()
1155 struct si_screen *screen = (struct si_screen *)ctx->screen; in si_create_batch_query()
1267 static bool si_init_block_names(struct si_screen *screen, struct si_pc_block *block) in si_init_block_names()
1352 int si_get_perfcounter_info(struct si_screen *screen, unsigned index, in si_get_perfcounter_info()
1392 int si_get_perfcounter_group_info(struct si_screen *screen, unsigned index, in si_get_perfcounter_group_info()
1418 void si_destroy_perfcounters(struct si_screen *screen) in si_destroy_perfcounters()
1435 void si_init_perfcounters(struct si_screen *screen) in si_init_perfcounters()
Dsi_state_shaders.c218 void si_shader_cache_insert_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20], in si_shader_cache_insert_shader()
245 bool si_shader_cache_load_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20], in si_shader_cache_load_shader()
306 bool si_init_shader_cache(struct si_screen *sscreen) in si_init_shader_cache()
315 void si_destroy_shader_cache(struct si_screen *sscreen) in si_destroy_shader_cache()
324 static void si_set_tesseval_regs(struct si_screen *sscreen, const struct si_shader_selector *tes, in si_set_tesseval_regs()
402 static void polaris_set_vgt_vertex_reuse(struct si_screen *sscreen, struct si_shader_selector *sel, in polaris_set_vgt_vertex_reuse()
458 static unsigned si_get_vs_vgpr_comp_cnt(struct si_screen *sscreen, struct si_shader *shader, in si_get_vs_vgpr_comp_cnt()
482 static void si_shader_ls(struct si_screen *sscreen, struct si_shader *shader) in si_shader_ls()
506 static void si_shader_hs(struct si_screen *sscreen, struct si_shader *shader) in si_shader_hs()
585 static void si_shader_es(struct si_screen *sscreen, struct si_shader *shader) in si_shader_es()
[all …]
Dsi_clear.c37 static void si_alloc_separate_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_alloc_separate_cmask()
91 bool vi_alpha_is_on_msb(struct si_screen *sscreen, enum pipe_format format) in vi_alpha_is_on_msb()
106 static bool vi_get_fast_clear_parameters(struct si_screen *sscreen, enum pipe_format base_format, in vi_get_fast_clear_parameters()
270 static void si_set_optimal_micro_tile_mode(struct si_screen *sscreen, struct si_texture *tex) in si_set_optimal_micro_tile_mode()
Dsi_state.c380 static void si_blend_check_commutativity(struct si_screen *sscreen, struct si_state_blend *blend, in si_blend_check_commutativity()
823 struct si_screen *sscreen = ((struct si_context *)ctx)->screen; in si_create_rs_state()
1575 struct si_screen *sscreen = (struct si_screen *)screen; in si_translate_texformat()
1884 static unsigned si_tex_dim(struct si_screen *sscreen, struct si_texture *tex, unsigned view_target, in si_tex_dim()
1930 struct si_screen *sscreen = (struct si_screen *)screen; in si_is_sampler_format_supported()
1953 assert(((struct si_screen *)screen)->info.chip_class <= GFX9); in si_translate_buffer_dataformat()
2027 assert(((struct si_screen *)screen)->info.chip_class <= GFX9); in si_translate_buffer_numformat()
2061 struct si_screen *sscreen = (struct si_screen *)screen; in si_is_vertex_format_supported()
2120 struct si_screen *sscreen = (struct si_screen *)screen; in si_is_format_supported()
3535 void si_make_buffer_descriptor(struct si_screen *screen, struct si_resource *buf, in si_make_buffer_descriptor()
[all …]
Dsi_state_binning.c43 static struct uvec2 si_find_bin_size(struct si_screen *sscreen, const si_bin_size_subtable table[], in si_find_bin_size()
452 struct si_screen *sscreen = sctx->screen; in si_emit_dpbb_state()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_video.c92 struct si_screen *sscreen = (struct si_screen *)screen; in si_vid_resize_buffer()
Dradeon_vce.c219 struct si_screen *sscreen = (struct si_screen *)enc->screen; in si_vce_frame_offset()
383 struct si_screen *sscreen = (struct si_screen *)context->screen; in si_vce_create_encoder()
515 bool si_vce_is_fw_version_supported(struct si_screen *sscreen) in si_vce_is_fw_version_supported()
Dradeon_uvd_enc.c268 struct si_screen *sscreen = (struct si_screen *)context->screen; in radeon_uvd_create_encoder()
354 bool si_radeon_uvd_enc_supported(struct si_screen *sscreen) in si_radeon_uvd_enc_supported()
Dradeon_uvd_enc.h428 struct si_screen;
431 bool si_radeon_uvd_enc_supported(struct si_screen *sscreen);
Dradeon_vce.h52 struct si_screen;
433 bool si_vce_is_fw_version_supported(struct si_screen *sscreen);

12