Home
last modified time | relevance | path

Searched defs:sscreen (Results 1 – 25 of 36) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c62 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_shader_param() local
136 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_compiler_options() local
149 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_device_uuid() local
156 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_name() local
191 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_video_param() local
681 struct si_screen *sscreen = (struct si_screen *)screen; in si_vid_is_format_supported() local
766 struct si_screen *sscreen = (struct si_screen *)screen; in si_vid_is_target_buffer_supported() local
827 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_compute_param() local
996 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_timestamp() local
1004 struct si_screen *sscreen = (struct si_screen *)screen; in si_query_memory_info() local
[all …]
Dsi_gpu_load.c62 static void si_update_mmio_counters(struct si_screen *sscreen, union si_mmio_counters *counters) in si_update_mmio_counters()
115 struct si_screen *sscreen = (struct si_screen *)param; in si_gpu_load_thread() local
143 void si_gpu_load_kill_thread(struct si_screen *sscreen) in si_gpu_load_kill_thread()
153 static uint64_t si_read_mmio_counter(struct si_screen *sscreen, unsigned busy_index) in si_read_mmio_counter()
173 static unsigned si_end_mmio_counter(struct si_screen *sscreen, uint64_t begin, unsigned busy_index) in si_end_mmio_counter()
196 #define BUSY_INDEX(sscreen, field) \ argument
199 static unsigned busy_index_from_type(struct si_screen *sscreen, unsigned type) in busy_index_from_type()
249 uint64_t si_begin_counter(struct si_screen *sscreen, unsigned type) in si_begin_counter()
255 unsigned si_end_counter(struct si_screen *sscreen, unsigned type, uint64_t begin) in si_end_counter()
Dsi_pipe.c143 struct ac_llvm_compiler *si_create_llvm_compiler(struct si_screen *sscreen) in si_create_llvm_compiler()
161 void si_init_aux_async_compute_ctx(struct si_screen *sscreen) in si_init_aux_async_compute_ctx()
206 struct si_screen *sscreen = sctx->screen; in si_destroy_context() local
500 struct si_screen *sscreen = (struct si_screen *)screen; in si_create_context() local
929 struct si_screen *sscreen = (struct si_screen *)screen; in si_pipe_create_context() local
990 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_destroy_screen() local
1082 static void si_init_gs_info(struct si_screen *sscreen) in si_init_gs_info()
1087 static void si_test_vmfault(struct si_screen *sscreen, uint64_t test_flags) in si_test_vmfault()
1112 static void si_disk_cache_create(struct si_screen *sscreen) in si_disk_cache_create()
1146 struct si_screen *sscreen = (struct si_screen *)screen; in si_set_max_shader_compiler_threads() local
[all …]
Dsi_texture.c157 static uint64_t si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, in si_texture_get_offset()
199 static int si_init_surface(struct si_screen *sscreen, struct radeon_surf *surface, in si_init_surface()
420 void si_texture_discard_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_cmask()
453 static bool si_texture_discard_dcc(struct si_screen *sscreen, struct si_texture *tex) in si_texture_discard_dcc()
489 struct si_screen *sscreen = sctx->screen; in si_texture_disable_dcc() local
612 static void si_set_tex_bo_metadata(struct si_screen *sscreen, struct si_texture *tex) in si_set_tex_bo_metadata()
642 struct si_screen *sscreen = (struct si_screen *)tex->buffer.b.b.screen; in si_displayable_dcc_needs_explicit_flush() local
666 struct si_screen *sscreen = (struct si_screen *)screen; in si_resource_get_param() local
747 struct si_screen *sscreen = (struct si_screen *)screen; in si_texture_get_handle() local
930 void si_print_texture_info(struct si_screen *sscreen, struct si_texture *tex, in si_print_texture_info()
[all …]
Dsi_pm4.c14 void si_pm4_clear_state(struct si_pm4_state *state, struct si_screen *sscreen, in si_pm4_clear_state()
86 struct si_pm4_state *si_pm4_create_sized(struct si_screen *sscreen, unsigned max_dw, in si_pm4_create_sized()
100 struct si_pm4_state *si_pm4_clone(struct si_screen *sscreen, struct si_pm4_state *orig) in si_pm4_clone()
Dsi_shader_nir.c58 void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool has_array_temps) in si_nir_opts()
163 static void si_late_optimize_16bit_samplers(struct si_screen *sscreen, nir_shader *nir) in si_late_optimize_16bit_samplers()
259 static void si_lower_nir(struct si_screen *sscreen, struct nir_shader *nir) in si_lower_nir()
410 struct si_screen *sscreen = (struct si_screen *)screen; in si_finalize_nir() local
Dsi_shader.c885 struct si_screen *sscreen = shader->selector->screen; in si_get_shader_prefetch_size() local
924 static void *pre_upload_binary(struct si_screen *sscreen, struct si_shader *shader, in pre_upload_binary()
977 static void post_upload_binary(struct si_screen *sscreen, struct si_shader *shader, in post_upload_binary()
1022 static int upload_binary_elf(struct si_screen *sscreen, struct si_shader *shader, in upload_binary_elf()
1057 static void calculate_needed_lds_size(struct si_screen *sscreen, struct si_shader *shader) in calculate_needed_lds_size()
1083 static int upload_binary_raw(struct si_screen *sscreen, struct si_shader *shader, in upload_binary_raw()
1140 int si_shader_binary_upload_at(struct si_screen *sscreen, struct si_shader *shader, in si_shader_binary_upload_at()
1155 int si_shader_binary_upload(struct si_screen *sscreen, struct si_shader *shader, in si_shader_binary_upload()
1235 struct si_screen *sscreen = shader->selector->screen; in si_calculate_max_simd_waves() local
1362 bool si_can_dump_shader(struct si_screen *sscreen, gl_shader_stage stage, in si_can_dump_shader()
[all …]
Dsi_buffer.c27 void si_init_resource_fields(struct si_screen *sscreen, struct si_resource *res, uint64_t size, in si_init_resource_fields()
142 bool si_alloc_resource(struct si_screen *sscreen, struct si_resource *res) in si_alloc_resource()
208 struct si_screen *sscreen = (struct si_screen *)screen; in si_resource_destroy() local
581 struct si_screen *sscreen = (struct si_screen *)screen; in si_buffer_create() local
632 struct si_screen *sscreen = (struct si_screen *)screen; in si_buffer_from_user_memory() local
664 struct si_screen *sscreen = (struct si_screen *)screen; in si_buffer_from_winsys_buffer() local
757 void si_init_screen_buffer_functions(struct si_screen *sscreen) in si_init_screen_buffer_functions()
Dsi_state_shaders.cpp29 unsigned si_determine_wave_size(struct si_screen *sscreen, struct si_shader *shader) in si_determine_wave_size()
345 void si_shader_cache_insert_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20], in si_shader_cache_insert_shader()
409 bool si_shader_cache_load_shader(struct si_screen *sscreen, unsigned char ir_sha1_cache_key[20], in si_shader_cache_load_shader()
477 bool si_init_shader_cache(struct si_screen *sscreen) in si_init_shader_cache()
489 void si_destroy_shader_cache(struct si_screen *sscreen) in si_destroy_shader_cache()
514 struct si_screen *sscreen = shader->selector->screen; in si_shader_mem_ordered() local
525 static void si_set_tesseval_regs(struct si_screen *sscreen, const struct si_shader_selector *tes, in si_set_tesseval_regs()
603 static void polaris_set_vgt_vertex_reuse(struct si_screen *sscreen, struct si_shader_selector *sel, in polaris_set_vgt_vertex_reuse()
651 static unsigned si_get_vs_vgpr_comp_cnt(struct si_screen *sscreen, struct si_shader *shader, in si_get_vs_vgpr_comp_cnt()
690 static void si_shader_ls(struct si_screen *sscreen, struct si_shader *shader) in si_shader_ls()
[all …]
Dradeon_vcn_enc.c25 struct si_screen *sscreen = (struct si_screen *)enc->screen; in radeon_vcn_enc_quality_modes() local
153 struct si_screen *sscreen = (struct si_screen *)enc->screen; in radeon_vcn_enc_get_roi_param() local
219 struct si_screen *sscreen = (struct si_screen *)enc->screen; in radeon_vcn_enc_get_latency_param() local
279 struct si_screen *sscreen = (struct si_screen *)enc->screen; in radeon_vcn_enc_h264_get_spec_misc_param() local
612 struct si_screen *sscreen = (struct si_screen *)enc->screen; in radeon_vcn_enc_hevc_get_dbk_param() local
630 struct si_screen *sscreen = (struct si_screen *)enc->screen; in radeon_vcn_enc_hevc_get_spec_misc_param() local
802 struct si_screen *sscreen = (struct si_screen *)enc->screen; in radeon_vcn_enc_av1_get_session_param() local
996 struct si_screen *sscreen = (struct si_screen *)enc->screen; in radeon_vcn_enc_av1_get_param() local
1088 struct si_screen *sscreen = (struct si_screen *)enc->screen; in flush() local
1215 struct si_screen *sscreen = (struct si_screen *)enc->screen; in pre_encode_size() local
[all …]
Dradeon_vce.c65 struct si_screen *sscreen = (struct si_screen *)enc->screen; in si_vce_frame_offset() local
106 struct si_screen *sscreen = (struct si_screen *)enc->screen; in get_dpb_size() local
376 struct si_screen *sscreen = (struct si_screen *)context->screen; in si_vce_create_encoder() local
436 bool si_vce_is_fw_version_supported(struct si_screen *sscreen) in si_vce_is_fw_version_supported()
Dsi_query.c488 void si_query_buffer_destroy(struct si_screen *sscreen, struct si_query_buffer *buffer) in si_query_buffer_destroy()
613 static unsigned si_query_pipestats_num_results(struct si_screen *sscreen) in si_query_pipestats_num_results()
641 unsigned si_query_pipestat_end_dw_offset(struct si_screen *sscreen, in si_query_pipestat_end_dw_offset()
647 static struct pipe_query *si_query_hw_create(struct si_screen *sscreen, unsigned query_type, in si_query_hw_create()
1196 struct si_screen *sscreen = (struct si_screen *)ctx->screen; in si_create_query() local
1363 static void si_query_hw_add_result(struct si_screen *sscreen, struct si_query_hw *query, in si_query_hw_add_result()
1483 struct si_screen *sscreen = sctx->screen; in si_query_hw_get_result() local
1842 static unsigned si_get_num_queries(struct si_screen *sscreen) in si_get_num_queries()
1864 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_driver_query_info() local
1912 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_driver_query_group_info() local
[all …]
Dsi_state.c410 static void si_blend_check_commutativity(struct si_screen *sscreen, struct si_state_blend *blend, in si_blend_check_commutativity()
971 struct si_screen *sscreen = ((struct si_context *)ctx)->screen; in si_create_rs_state() local
1988 struct si_screen *sscreen = (struct si_screen *)screen; in si_translate_texformat() local
2071 static unsigned si_tex_dim(struct si_screen *sscreen, struct si_texture *tex, unsigned view_target, in si_tex_dim()
2117 struct si_screen *sscreen = (struct si_screen *)screen; in si_is_sampler_format_supported() local
2207 struct si_screen *sscreen = (struct si_screen *)screen; in si_is_vertex_format_supported() local
2260 struct si_screen *sscreen = (struct si_screen *)screen; in si_is_reduction_mode_supported() local
2269 struct si_screen *sscreen = (struct si_screen *)screen; in si_is_format_supported() local
4235 struct si_screen *sscreen = sctx->screen; in si_create_sampler_state() local
4390 struct si_screen *sscreen = (struct si_screen *)ctx->screen; in si_create_vertex_elements() local
[all …]
Dsi_shader_llvm.c55 static bool si_compile_llvm(struct si_screen *sscreen, struct si_shader_binary *binary, in si_compile_llvm()
109 static void si_llvm_context_init(struct si_shader_context *ctx, struct si_screen *sscreen, in si_llvm_context_init()
771 static void assert_registers_equal(struct si_screen *sscreen, unsigned reg, unsigned nir_value, in assert_registers_equal()
788 bool si_llvm_compile_shader(struct si_screen *sscreen, struct ac_llvm_compiler *compiler, in si_llvm_compile_shader()
867 bool si_llvm_build_shader_part(struct si_screen *sscreen, gl_shader_stage stage, in si_llvm_build_shader_part()
Dsi_test_dma_perf.c114 void si_test_dma_perf(struct si_screen *sscreen) in si_test_dma_perf()
296 si_test_mem_perf(struct si_screen *sscreen) in si_test_mem_perf()
407 void si_test_clear_buffer(struct si_screen *sscreen) in si_test_clear_buffer()
522 void si_test_copy_buffer(struct si_screen *sscreen) in si_test_copy_buffer()
Dradeon_vce_52.c289 struct si_screen *sscreen = (struct si_screen *)enc->screen; in create() local
321 struct si_screen *sscreen = (struct si_screen *)enc->screen; in encode() local
Dsi_fence.c72 struct si_screen *sscreen = ctx->screen; in si_cp_release_mem() local
365 struct si_screen *sscreen = (struct si_screen *)ctx->screen; in si_create_fence_fd() local
405 struct si_screen *sscreen = (struct si_screen *)screen; in si_fence_get_fd() local
Dsi_compute.c17 #define COMPUTE_DBG(sscreen, fmt, args...) \ argument
96 struct si_screen *sscreen = sel->screen; in si_create_compute_state_async() local
224 struct si_screen *sscreen = (struct si_screen *)ctx->screen; in si_create_compute_state() local
914 struct si_screen *sscreen = sctx->screen; in si_emit_dispatch_packets() local
1174 struct si_screen *sscreen = sctx->screen; in si_launch_grid() local
Dsi_sqtt.c56 struct si_screen *sscreen = sctx->screen; in si_emit_sqtt_start() local
77 struct si_screen *sscreen = sctx->screen; in si_emit_sqtt_stop() local
372 struct si_screen *sscreen = sctx->screen; in si_destroy_sqtt() local
Dradeon_uvd_enc.c381 struct si_screen *sscreen = (struct si_screen *)context->screen; in radeon_uvd_create_encoder() local
425 bool si_radeon_uvd_enc_supported(struct si_screen *sscreen) in si_radeon_uvd_enc_supported()
Dsi_uvd.c77 struct si_screen *sscreen = (struct si_screen *)buf->base.context->screen; in si_uvd_set_dtb() local
Dradeon_video.c72 struct si_screen *sscreen = (struct si_screen *)context->screen; in si_vid_resize_buffer() local
Dsi_test_image_copy_region.c204 static enum pipe_format get_random_format(struct si_screen *sscreen, bool render_target, in get_random_format()
413 static void print_image_attrs(struct si_screen *sscreen, struct si_texture *tex) in print_image_attrs()
464 void si_test_image_copy_region(struct si_screen *sscreen) in si_test_image_copy_region()
626 void si_test_blit(struct si_screen *sscreen, unsigned test_flags) in si_test_blit()
Dsi_state_binning.c25 static struct uvec2 si_find_bin_size(struct si_screen *sscreen, const si_bin_size_subtable table[], in si_find_bin_size()
445 struct si_screen *sscreen = sctx->screen; in si_emit_dpbb_state() local
Dsi_clear.c85 static bool si_alloc_separate_cmask(struct si_screen *sscreen, struct si_texture *tex) in si_alloc_separate_cmask()
143 static bool gfx8_get_dcc_clear_parameters(struct si_screen *sscreen, enum pipe_format base_format, in gfx8_get_dcc_clear_parameters()
253 static bool gfx11_get_dcc_clear_parameters(struct si_screen *sscreen, struct si_texture *tex, in gfx11_get_dcc_clear_parameters()
470 static void si_set_optimal_micro_tile_mode(struct si_screen *sscreen, struct si_texture *tex) in si_set_optimal_micro_tile_mode()

12