Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c55 const char *si_get_family_name(const struct si_screen *sscreen) in si_get_family_name()
82 static bool si_have_tgsi_compute(struct si_screen *sscreen) in si_have_tgsi_compute()
94 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_param()
379 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_shader_param()
541 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_get_device_uuid()
548 struct si_screen *sscreen = (struct si_screen*)pscreen; in si_get_name()
586 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_video_param()
725 static unsigned get_max_threads_per_block(struct si_screen *screen, in get_max_threads_per_block()
746 struct si_screen *sscreen = (struct si_screen *)screen; in si_get_compute_param()
895 struct si_screen *sscreen = (struct si_screen*)screen; in si_get_timestamp()
[all …]
Dsi_shader.h313 struct si_screen *screen;
624 si_generate_gs_copy_shader(struct si_screen *sscreen,
628 int si_compile_tgsi_shader(struct si_screen *sscreen,
633 int si_shader_create(struct si_screen *sscreen, LLVMTargetMachineRef tm,
639 int si_shader_binary_upload(struct si_screen *sscreen, struct si_shader *shader);
640 void si_shader_dump(struct si_screen *sscreen, const struct si_shader *shader,
643 void si_multiwave_lds_size_workaround(struct si_screen *sscreen,
Dsi_state.h42 struct si_screen;
321 void si_set_mutable_tex_desc_fields(struct si_screen *sscreen,
373 void si_init_screen_state_functions(struct si_screen *sscreen);
375 si_make_buffer_descriptor(struct si_screen *screen, struct r600_resource *buf,
380 si_make_texture_descriptor(struct si_screen *screen,
405 bool si_init_shader_cache(struct si_screen *sscreen);
406 void si_destroy_shader_cache(struct si_screen *sscreen);
Dsi_pipe.c208 si_create_llvm_target_machine(struct si_screen *sscreen) in si_create_llvm_target_machine()
223 struct si_screen *screen = sctx->screen; in si_set_debug_callback()
248 struct si_screen* sscreen = (struct si_screen *)screen; in si_create_context()
439 struct si_screen *sscreen = (struct si_screen *)screen; in si_pipe_create_context()
473 struct si_screen *sscreen = (struct si_screen *)pscreen; in si_destroy_screen()
524 static bool si_init_gs_info(struct si_screen *sscreen) in si_init_gs_info()
558 static void si_handle_env_var_force_family(struct si_screen *sscreen) in si_handle_env_var_force_family()
590 static void si_test_vmfault(struct si_screen *sscreen) in si_test_vmfault()
621 static void si_disk_cache_create(struct si_screen *sscreen) in si_disk_cache_create()
664 struct si_screen *sscreen = CALLOC_STRUCT(si_screen); in radeonsi_screen_create()
Dsi_pipe.h96 struct si_screen { struct
439 struct si_screen *screen;
707 void si_init_screen_fence_functions(struct si_screen *screen);
712 const char *si_get_family_name(const struct si_screen *sscreen);
713 void si_init_screen_get_functions(struct si_screen *sscreen);
726 void si_init_perfcounters(struct si_screen *screen);
729 void si_test_dma(struct si_screen *sscreen);
820 static inline bool si_can_dump_shader(struct si_screen *sscreen, in si_can_dump_shader()
826 static inline bool si_extra_shader_checks(struct si_screen *sscreen, in si_extra_shader_checks()
Dsi_fence.c70 struct radeon_winsys *ws = ((struct si_screen*)screen)->ws; in si_fence_reference()
189 struct radeon_winsys *rws = ((struct si_screen*)screen)->ws; in si_fence_finish()
303 struct si_screen *sscreen = (struct si_screen*)ctx->screen; in si_create_fence_fd()
328 struct si_screen *sscreen = (struct si_screen*)screen; in si_fence_get_fd()
473 void si_init_screen_fence_functions(struct si_screen *screen) in si_init_screen_fence_functions()
Dsi_uvd.c112 struct si_screen *sscreen = (struct si_screen*)buf->base.context->screen; in si_uvd_set_dtb()
Dsi_state_binning.c44 static struct uvec2 si_find_bin_size(struct si_screen *sscreen, in si_find_bin_size()
340 struct si_screen *sscreen = sctx->screen; in si_emit_dpbb_state()
Dsi_shader_internal.h54 struct si_screen *screen;
245 struct si_screen *sscreen,
Dsi_compute.h35 struct si_screen *screen;
Dsi_state_shaders.c187 static bool si_shader_cache_insert_shader(struct si_screen *sscreen, in si_shader_cache_insert_shader()
220 static bool si_shader_cache_load_shader(struct si_screen *sscreen, in si_shader_cache_load_shader()
303 bool si_init_shader_cache(struct si_screen *sscreen) in si_init_shader_cache()
314 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, in si_set_tesseval_regs()
405 static void polaris_set_vgt_vertex_reuse(struct si_screen *sscreen, in polaris_set_vgt_vertex_reuse()
443 static void si_shader_ls(struct si_screen *sscreen, struct si_shader *shader) in si_shader_ls()
476 static void si_shader_hs(struct si_screen *sscreen, struct si_shader *shader) in si_shader_hs()
526 static void si_shader_es(struct si_screen *sscreen, struct si_shader *shader) in si_shader_es()
684 static void si_shader_gs(struct si_screen *sscreen, struct si_shader *shader) in si_shader_gs()
[all …]
Dsi_test_dma.c138 static const char *array_mode_to_string(struct si_screen *sscreen, in array_mode_to_string()
174 void si_test_dma(struct si_screen *sscreen) in si_test_dma()
Dsi_compute.c153 struct si_screen *sscreen = (struct si_screen *)ctx->screen; in si_create_compute_state()
157 program->screen = (struct si_screen *)ctx->screen; in si_create_compute_state()
722 struct si_screen *sscreen = sctx->screen; in si_emit_dispatch_packets()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_pipe_common.h48 struct si_screen;
388 struct si_screen *screen;
534 void si_init_resource_fields(struct si_screen *sscreen,
537 bool si_alloc_resource(struct si_screen *sscreen,
547 void si_init_screen_buffer_functions(struct si_screen *sscreen);
556 unsigned si_gfx_write_fence_dwords(struct si_screen *screen);
560 struct si_screen *sscreen,
563 void si_screen_clear_buffer(struct si_screen *sscreen, struct pipe_resource *dst,
573 void si_gpu_load_kill_thread(struct si_screen *sscreen);
574 uint64_t si_begin_counter(struct si_screen *sscreen, unsigned type);
[all …]
Dr600_query.h34 struct si_screen;
121 void (*destroy)(struct si_screen *, struct r600_query *);
151 bool (*prepare_buffer)(struct si_screen *,
161 void (*add_result)(struct si_screen *screen,
200 bool si_query_hw_init(struct si_screen *sscreen,
202 void si_query_hw_destroy(struct si_screen *sscreen,
291 void (*cleanup)(struct si_screen *);
301 int si_get_perfcounter_info(struct si_screen *,
304 int si_get_perfcounter_group_info(struct si_screen *,
309 void si_perfcounters_add_block(struct si_screen *,
Dr600_gpu_load.c79 static void r600_update_mmio_counters(struct si_screen *sscreen, in r600_update_mmio_counters()
133 struct si_screen *sscreen = (struct si_screen*)param; in r600_gpu_load_thread()
162 void si_gpu_load_kill_thread(struct si_screen *sscreen) in si_gpu_load_kill_thread()
172 static uint64_t r600_read_mmio_counter(struct si_screen *sscreen, in r600_read_mmio_counter()
191 static unsigned r600_end_mmio_counter(struct si_screen *sscreen, in r600_end_mmio_counter()
218 static unsigned busy_index_from_type(struct si_screen *sscreen, in busy_index_from_type()
269 uint64_t si_begin_counter(struct si_screen *sscreen, unsigned type) in si_begin_counter()
275 unsigned si_end_counter(struct si_screen *sscreen, unsigned type, in si_end_counter()
Dr600_perfcounter.c98 static void r600_pc_query_destroy(struct si_screen *sscreen, in r600_pc_query_destroy()
114 static bool r600_pc_query_prepare_buffer(struct si_screen *screen, in r600_pc_query_prepare_buffer()
195 static void r600_pc_query_add_result(struct si_screen *sscreen, in r600_pc_query_add_result()
229 static struct r600_pc_group *get_group_state(struct si_screen *screen, in get_group_state()
300 struct si_screen *screen = in si_create_batch_query()
301 (struct si_screen *)ctx->screen; in si_create_batch_query()
426 static bool r600_init_block_names(struct si_screen *screen, in r600_init_block_names()
510 int si_get_perfcounter_info(struct si_screen *screen, in si_get_perfcounter_info()
552 int si_get_perfcounter_group_info(struct si_screen *screen, in si_get_perfcounter_group_info()
579 void si_perfcounters_destroy(struct si_screen *sscreen) in si_perfcounters_destroy()
[all …]
Dr600_texture.c39 static void r600_texture_discard_cmask(struct si_screen *sscreen,
42 r600_choose_tiling(struct si_screen *sscreen,
181 static unsigned r600_texture_get_offset(struct si_screen *sscreen, in r600_texture_get_offset()
220 static int r600_init_surface(struct si_screen *sscreen, in r600_init_surface()
324 static void r600_texture_init_metadata(struct si_screen *sscreen, in r600_texture_init_metadata()
350 static void r600_surface_import_metadata(struct si_screen *sscreen, in r600_surface_import_metadata()
388 struct si_screen *sscreen = rctx->screen; in r600_eliminate_fast_color_clear()
401 static void r600_texture_discard_cmask(struct si_screen *sscreen, in r600_texture_discard_cmask()
432 static bool r600_texture_discard_dcc(struct si_screen *sscreen, in r600_texture_discard_dcc()
472 struct si_screen *sscreen = rctx->screen; in si_texture_disable_dcc()
[all …]
Dr600_query.c58 static void r600_query_sw_destroy(struct si_screen *sscreen, in r600_query_sw_destroy()
502 void si_query_hw_destroy(struct si_screen *sscreen, in si_query_hw_destroy()
521 static struct r600_resource *r600_new_query_buffer(struct si_screen *sscreen, in r600_new_query_buffer()
545 static bool r600_query_hw_prepare_buffer(struct si_screen *sscreen, in r600_query_hw_prepare_buffer()
606 static void r600_query_hw_add_result(struct si_screen *sscreen,
620 bool si_query_hw_init(struct si_screen *sscreen, in si_query_hw_init()
630 static struct pipe_query *r600_query_hw_create(struct si_screen *sscreen, in r600_query_hw_create()
1028 struct si_screen *sscreen = in r600_create_query()
1029 (struct si_screen *)ctx->screen; in r600_create_query()
1222 static void r600_query_hw_add_result(struct si_screen *sscreen, in r600_query_hw_add_result()
[all …]
Dr600_buffer_common.c102 void si_init_resource_fields(struct si_screen *sscreen, in si_init_resource_fields()
198 bool si_alloc_resource(struct si_screen *sscreen, in si_alloc_resource()
613 struct si_screen *sscreen = (struct si_screen*)screen; in si_buffer_create()
657 struct si_screen *sscreen = (struct si_screen*)screen; in si_buffer_from_user_memory()
696 void si_init_screen_buffer_functions(struct si_screen *sscreen) in si_init_screen_buffer_functions()
Dradeon_vce.c222 struct si_screen *sscreen = (struct si_screen *)enc->screen; in si_vce_frame_offset()
391 struct si_screen *sscreen = (struct si_screen *)context->screen; in si_vce_create_encoder()
531 bool si_vce_is_fw_version_supported(struct si_screen *sscreen) in si_vce_is_fw_version_supported()
Dradeon_video.c83 struct si_screen *sscreen = (struct si_screen *)screen; in si_vid_resize_buffer()
Dradeon_vcn_enc.c224 struct si_screen *sscreen = (struct si_screen *)context->screen; in radeon_create_encoder()
Dr600_pipe_common.c130 unsigned si_gfx_write_fence_dwords(struct si_screen *screen) in si_gfx_write_fence_dwords()
406 struct si_screen *sscreen, in si_common_context_init()
524 void si_screen_clear_buffer(struct si_screen *sscreen, struct pipe_resource *dst, in si_screen_clear_buffer()
Dradeon_vce.h45 struct si_screen;
425 bool si_vce_is_fw_version_supported(struct si_screen *sscreen);

12