/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_gpu_load.c | 82 static void r600_update_mmio_counters(struct r600_common_screen *rscreen, in r600_update_mmio_counters() argument 89 rscreen->ws->read_registers(rscreen->ws, GRBM_STATUS, 1, &value); in r600_update_mmio_counters() 116 struct r600_common_screen *rscreen = (struct r600_common_screen*)param; in r600_gpu_load_thread() local 121 while (!p_atomic_read(&rscreen->gpu_load_stop_thread)) { in r600_gpu_load_thread() 139 r600_update_mmio_counters(rscreen, &rscreen->mmio_counters); in r600_gpu_load_thread() 141 p_atomic_dec(&rscreen->gpu_load_stop_thread); in r600_gpu_load_thread() 145 void r600_gpu_load_kill_thread(struct r600_common_screen *rscreen) in r600_gpu_load_kill_thread() argument 147 if (!rscreen->gpu_load_thread) in r600_gpu_load_kill_thread() 150 p_atomic_inc(&rscreen->gpu_load_stop_thread); in r600_gpu_load_kill_thread() 151 thrd_join(rscreen->gpu_load_thread, NULL); in r600_gpu_load_kill_thread() [all …]
|
D | r600_pipe.c | 142 struct r600_screen* rscreen = (struct r600_screen *)screen; in r600_create_context() local 143 struct radeon_winsys *ws = rscreen->b.ws; in r600_create_context() 154 if (!r600_common_context_init(&rctx->b, &rscreen->b, flags)) in r600_create_context() 157 rctx->screen = rscreen; in r600_create_context() 162 if (rscreen->b.info.has_hw_decode) { in r600_create_context() 228 if (rscreen->b.debug_flags & DBG_FORCE_DMA) in r600_create_context() 234 util_blitter_set_texture_multisample(rctx->blitter, rscreen->has_msaa); in r600_create_context() 264 struct r600_screen *rscreen = (struct r600_screen *)pscreen; in r600_get_param() local 265 enum radeon_family family = rscreen->b.family; in r600_get_param() 335 return rscreen->b.info.drm_minor >= 43; in r600_get_param() [all …]
|
D | r600_pipe_common.c | 580 struct r600_common_screen *rscreen, in r600_common_context_init() argument 583 slab_create_child(&rctx->pool_transfers, &rscreen->pool_transfers); in r600_common_context_init() 584 slab_create_child(&rctx->pool_transfers_unsync, &rscreen->pool_transfers); in r600_common_context_init() 586 rctx->screen = rscreen; in r600_common_context_init() 587 rctx->ws = rscreen->ws; in r600_common_context_init() 588 rctx->family = rscreen->family; in r600_common_context_init() 589 rctx->chip_class = rscreen->chip_class; in r600_common_context_init() 605 if ((rscreen->chip_class == EVERGREEN || rscreen->chip_class == CAYMAN) && in r600_common_context_init() 621 u_suballocator_create(&rctx->b, rscreen->info.gart_page_size, in r600_common_context_init() 640 if (rscreen->info.num_rings[RING_DMA] && !(rscreen->debug_flags & DBG_NO_ASYNC_DMA)) { in r600_common_context_init() [all …]
|
D | r600_texture.c | 40 static void r600_texture_discard_cmask(struct r600_common_screen *rscreen, 43 r600_choose_tiling(struct r600_common_screen *rscreen, 174 static unsigned r600_texture_get_offset(struct r600_common_screen *rscreen, in r600_texture_get_offset() argument 197 static int r600_init_surface(struct r600_common_screen *rscreen, in r600_init_surface() argument 216 if (rscreen->chip_class >= EVERGREEN && !is_flushed_depth && in r600_init_surface() 247 r = rscreen->ws->surface_init(rscreen->ws, ptex, in r600_init_surface() 271 static void r600_texture_init_metadata(struct r600_common_screen *rscreen, in r600_texture_init_metadata() argument 293 static void r600_surface_import_metadata(struct r600_common_screen *rscreen, in r600_surface_import_metadata() argument 319 struct r600_common_screen *rscreen = rctx->screen; in r600_eliminate_fast_color_clear() local 322 if (ctx == rscreen->aux_context) in r600_eliminate_fast_color_clear() [all …]
|
D | r600_pipe_common.h | 635 void r600_init_resource_fields(struct r600_common_screen *rscreen, 638 bool r600_alloc_resource(struct r600_common_screen *rscreen, 676 bool r600_common_screen_init(struct r600_common_screen *rscreen, 678 void r600_destroy_common_screen(struct r600_common_screen *rscreen); 682 struct r600_common_screen *rscreen, 685 bool r600_can_dump_shader(struct r600_common_screen *rscreen, 687 bool r600_extra_shader_checks(struct r600_common_screen *rscreen, 689 void r600_screen_clear_buffer(struct r600_common_screen *rscreen, struct pipe_resource *dst, 702 void r600_gpu_load_kill_thread(struct r600_common_screen *rscreen); 703 uint64_t r600_begin_counter(struct r600_common_screen *rscreen, unsigned type); [all …]
|
D | r600_query.c | 57 static void r600_query_sw_destroy(struct r600_common_screen *rscreen, in r600_query_sw_destroy() argument 62 rscreen->b.fence_reference(&rscreen->b, &query->fence, NULL); in r600_query_sw_destroy() 482 void r600_query_hw_destroy(struct r600_common_screen *rscreen, in r600_query_hw_destroy() argument 500 static struct r600_resource *r600_new_query_buffer(struct r600_common_screen *rscreen, in r600_new_query_buffer() argument 504 rscreen->info.min_alloc_size); in r600_new_query_buffer() 511 pipe_buffer_create(&rscreen->b, 0, in r600_new_query_buffer() 516 if (!query->ops->prepare_buffer(rscreen, query, buf)) { in r600_new_query_buffer() 524 static bool r600_query_hw_prepare_buffer(struct r600_common_screen *rscreen, in r600_query_hw_prepare_buffer() argument 529 uint32_t *results = rscreen->ws->buffer_map(buffer->buf, NULL, in r600_query_hw_prepare_buffer() 540 unsigned max_rbs = rscreen->info.num_render_backends; in r600_query_hw_prepare_buffer() [all …]
|
D | radeon_video.c | 91 struct r600_common_screen *rscreen = (struct r600_common_screen *)screen; in rvid_resize_buffer() local 92 struct radeon_winsys* ws = rscreen->ws; in rvid_resize_buffer() 223 struct r600_common_screen *rscreen = (struct r600_common_screen *)screen; in rvid_get_video_param() local 227 rscreen->ws->query_info(rscreen->ws, &info); in rvid_get_video_param() 233 rvce_is_fw_version_supported(rscreen); in rvid_get_video_param() 262 return rscreen->family >= CHIP_PALM; in rvid_get_video_param() 285 if (rscreen->family < CHIP_PALM) { in rvid_get_video_param() 289 rscreen->family > CHIP_RV770; in rvid_get_video_param()
|
D | r600_buffer_common.c | 104 void r600_init_resource_fields(struct r600_common_screen *rscreen, in r600_init_resource_fields() argument 129 if (rscreen->info.drm_minor < 40) { in r600_init_resource_fields() 156 if (rscreen->info.drm_minor < 40) in r600_init_resource_fields() 174 if (rscreen->debug_flags & DBG_NO_WC) in r600_init_resource_fields() 187 bool r600_alloc_resource(struct r600_common_screen *rscreen, in r600_alloc_resource() argument 193 new_buf = rscreen->ws->buffer_create(rscreen->ws, res->bo_size, in r600_alloc_resource() 207 if (rscreen->info.r600_has_virtual_memory) in r600_alloc_resource() 208 res->gpu_address = rscreen->ws->buffer_get_virtual_address(res->buf); in r600_alloc_resource() 217 if (rscreen->debug_flags & DBG_VM && res->b.b.target == PIPE_BUFFER) { in r600_alloc_resource() 350 struct r600_common_screen *rscreen = (struct r600_common_screen*)ctx->screen; in r600_buffer_transfer_map() local [all …]
|
D | r600_test_dma.c | 138 static const char *array_mode_to_string(struct r600_common_screen *rscreen, in array_mode_to_string() argument 141 if (rscreen->chip_class >= GFX9) { in array_mode_to_string() 174 void r600_test_dma(struct r600_common_screen *rscreen) in r600_test_dma() argument 176 struct pipe_screen *screen = &rscreen->b; in r600_test_dma() 285 array_mode_to_string(rscreen, &rdst->surface), in r600_test_dma() 287 array_mode_to_string(rscreen, &rsrc->surface), bpp); in r600_test_dma()
|
D | radeon_vce.c | 398 struct r600_common_screen *rscreen = (struct r600_common_screen *)context->screen; in rvce_create_encoder() local 405 if (!rscreen->info.vce_fw_version) { in rvce_create_encoder() 409 } else if (!rvce_is_fw_version_supported(rscreen)) { in rvce_create_encoder() 418 if (rscreen->info.drm_minor >= 42) in rvce_create_encoder() 493 bool rvce_is_fw_version_supported(struct r600_common_screen *rscreen) in rvce_is_fw_version_supported() argument 495 switch (rscreen->info.vce_fw_version) { in rvce_is_fw_version_supported() 506 if ((rscreen->info.vce_fw_version & (0xff << 24)) == FW_53) in rvce_is_fw_version_supported()
|
D | r600_perfcounter.c | 102 static void r600_pc_query_destroy(struct r600_common_screen *rscreen, in r600_pc_query_destroy() argument 115 r600_query_hw_destroy(rscreen, rquery); in r600_pc_query_destroy() 199 static void r600_pc_query_add_result(struct r600_common_screen *rscreen, in r600_pc_query_add_result() argument 583 void r600_perfcounters_destroy(struct r600_common_screen *rscreen) in r600_perfcounters_destroy() argument 585 if (rscreen->perfcounters) in r600_perfcounters_destroy() 586 rscreen->perfcounters->cleanup(rscreen); in r600_perfcounters_destroy() 602 void r600_perfcounters_add_block(struct r600_common_screen *rscreen, in r600_perfcounters_add_block() argument 631 block->num_groups *= rscreen->info.max_se; in r600_perfcounters_add_block()
|
D | r600_uvd.c | 161 struct r600_screen *rscreen = (struct r600_screen*)buf->base.context->screen; in r600_uvd_set_dtb() local 166 …msg->body.decode.dt_surf_tile_config |= RUVD_NUM_BANKS(eg_num_banks(rscreen->b.info.r600_num_banks… in r600_uvd_set_dtb()
|
D | r600_query.h | 196 bool r600_query_hw_init(struct r600_common_screen *rscreen, 198 void r600_query_hw_destroy(struct r600_common_screen *rscreen,
|
D | compute_memory_pool.h | 85 struct compute_memory_pool* compute_memory_pool_new(struct r600_screen *rscreen);
|
D | evergreen_compute.c | 1311 struct r600_screen* rscreen = NULL; in r600_compute_global_buffer_destroy() local 1317 rscreen = (struct r600_screen*)screen; in r600_compute_global_buffer_destroy() 1319 compute_memory_free(rscreen->global_pool, buffer->chunk->id); in r600_compute_global_buffer_destroy() 1338 struct r600_screen* rscreen = NULL; in r600_compute_global_buffer_create() local 1349 rscreen = (struct r600_screen*)screen; in r600_compute_global_buffer_create() 1351 COMPUTE_DBG(rscreen, "*** r600_compute_global_buffer_create\n"); in r600_compute_global_buffer_create() 1352 COMPUTE_DBG(rscreen, "width = %u array_size = %u\n", templ->width0, in r600_compute_global_buffer_create() 1362 result->chunk = compute_memory_alloc(rscreen->global_pool, size_in_dw); in r600_compute_global_buffer_create()
|
D | compute_memory_pool.c | 73 struct r600_screen * rscreen) in compute_memory_pool_new() argument 80 COMPUTE_DBG(rscreen, "* compute_memory_pool_new()\n"); in compute_memory_pool_new() 82 pool->screen = rscreen; in compute_memory_pool_new()
|
D | evergreen_state.c | 249 struct r600_screen *rscreen = (struct r600_screen*)screen; in evergreen_is_format_supported() local 261 if (!rscreen->has_msaa) in evergreen_is_format_supported() 289 r600_is_colorbuffer_format_supported(rscreen->b.chip_class, format)) { in evergreen_is_format_supported() 572 struct r600_common_screen *rscreen = (struct r600_common_screen*)ctx->screen; in evergreen_create_sampler_state() local 574 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in evergreen_create_sampler_state() 725 struct r600_screen *rscreen = (struct r600_screen*)rctx->b.b.screen; in evergreen_fill_tex_resource_words() local 819 if (rscreen->b.chip_class == CAYMAN) { in evergreen_fill_tex_resource_words() 823 nbanks = eg_num_banks(rscreen->b.info.r600_num_banks); in evergreen_fill_tex_resource_words() 843 if (rscreen->b.chip_class == CAYMAN) in evergreen_fill_tex_resource_words() 854 if (texture->nr_samples > 1 && rscreen->has_compressed_msaa_texturing) { in evergreen_fill_tex_resource_words() [all …]
|
D | r600_state.c | 168 struct r600_screen *rscreen = (struct r600_screen*)screen; in r600_is_format_supported() local 180 if (!rscreen->has_msaa) in r600_is_format_supported() 184 if (rscreen->b.chip_class == R600 && in r600_is_format_supported() 218 r600_is_colorbuffer_format_supported(rscreen->b.chip_class, format)) { in r600_is_format_supported() 584 struct r600_common_screen *rscreen = (struct r600_common_screen*)ctx->screen; in r600_create_sampler_state() local 586 unsigned max_aniso = rscreen->force_aniso >= 0 ? rscreen->force_aniso in r600_create_sampler_state() 809 struct r600_screen *rscreen = rctx->screen; in r600_init_color_surface() local 979 r600_texture_get_cmask_info(&rscreen->b, rtex, &cmask); in r600_init_color_surface() 980 r600_texture_get_fmask_info(&rscreen->b, rtex, 8, &fmask); in r600_init_color_surface() 991 r600_aligned_buffer_create(&rscreen->b.b, 0, in r600_init_color_surface() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/ |
D | r300_texture.c | 1027 struct r300_screen *rscreen = r300_screen(screen); in r300_texture_destroy() local 1031 mtx_lock(&rscreen->cmask_mutex); in r300_texture_destroy() 1032 if (texture == rscreen->cmask_resource) { in r300_texture_destroy() 1033 rscreen->cmask_resource = NULL; in r300_texture_destroy() 1035 mtx_unlock(&rscreen->cmask_mutex); in r300_texture_destroy() 1071 r300_texture_create_object(struct r300_screen *rscreen, in r300_texture_create_object() argument 1078 struct radeon_winsys *rws = rscreen->rws; in r300_texture_create_object() 1088 tex->b.b.screen = &rscreen->screen; in r300_texture_create_object() 1102 r300_texture_desc_init(rscreen, tex, base); in r300_texture_create_object() 1106 tex->tex.size_in_bytes >= rscreen->info.vram_size) { in r300_texture_create_object() [all …]
|
D | r300_texture_desc.c | 284 static void r300_setup_cbzb_flags(struct r300_screen *rscreen, in r300_setup_cbzb_flags() argument 300 if (SCREEN_DBG_ON(rscreen, DBG_NO_CBZB)) in r300_setup_cbzb_flags() 540 void r300_texture_desc_init(struct r300_screen *rscreen, in r300_texture_desc_init() argument 565 if (rscreen->caps.is_r500) { in r300_texture_desc_init() 600 r300_setup_tiling(rscreen, tex); in r300_texture_desc_init() 603 r300_setup_cbzb_flags(rscreen, tex); in r300_texture_desc_init() 606 r300_setup_miptree(rscreen, tex, TRUE); in r300_texture_desc_init() 610 r300_setup_miptree(rscreen, tex, FALSE); in r300_texture_desc_init() 626 r300_setup_hyperz_properties(rscreen, tex); in r300_texture_desc_init() 627 r300_setup_cmask_properties(rscreen, tex); in r300_texture_desc_init() [all …]
|
D | r300_texture_desc.h | 46 void r300_texture_desc_init(struct r300_screen *rscreen,
|
D | r300_screen.c | 481 static bool r300_is_blending_supported(struct r300_screen *rscreen, in r300_is_blending_supported() argument 494 if (rscreen->caps.is_r500 && in r300_is_blending_supported()
|
/external/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir.cpp | 877 r600_screen *rscreen = rctx->screen; in r600_shader_from_nir() local 879 bool r = convert.lower(sh, pipeshader, sel, *key, gs_shader, rscreen->b.chip_class); in r600_shader_from_nir() 901 r600_bytecode_init(&pipeshader->shader.bc, rscreen->b.chip_class, rscreen->b.family, in r600_shader_from_nir() 902 rscreen->has_compressed_msaa_texturing); in r600_shader_from_nir()
|
/external/mesa3d/docs/relnotes/ |
D | 10.5.9.rst | 41 (rscreen->ws->buffer_from_handle returns NULL)
|
D | 10.6.2.rst | 44 (rscreen->ws->buffer_from_handle returns NULL)
|