Home
last modified time | relevance | path

Searched refs:debug_flags (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.c143 (sscreen->debug_flags & DBG(GISEL) ? AC_TM_ENABLE_GLOBAL_ISEL : 0) | in si_init_compiler()
144 (sscreen->debug_flags & DBG(CHECK_IR) ? AC_TM_CHECK_IR : 0) | in si_init_compiler()
835 if (sscreen->debug_flags & DBG(CHECK_VM)) in si_pipe_create_context()
840 if (ctx && sscreen->info.chip_class >= GFX9 && sscreen->debug_flags & DBG(SQTT)) { in si_pipe_create_context()
856 if (sscreen->debug_flags & DBG_ALL_SHADERS) in si_pipe_create_context()
891 if (sscreen->debug_flags & DBG(CACHE_STATS)) { in si_destroy_screen()
1025 if (sscreen->debug_flags & DBG_ALL_SHADERS) in si_disk_cache_create()
1092 sscreen->debug_flags = debug_get_flags_option("R600_DEBUG", radeonsi_debug_options, 0); in radeonsi_screen_create_impl()
1093 sscreen->debug_flags |= debug_get_flags_option("AMD_DEBUG", radeonsi_debug_options, 0); in radeonsi_screen_create_impl()
1096 if (sscreen->debug_flags & DBG(NO_GFX)) in radeonsi_screen_create_impl()
[all …]
Dsi_texture.c181 if ((sscreen->debug_flags & DBG(NO_HYPERZ)) || in si_init_surface()
207 if (ptex->nr_samples >= 2 && sscreen->debug_flags & DBG(NO_DCC_MSAA)) in si_init_surface()
214 (sscreen->debug_flags & DBG(NO_DCC) || in si_init_surface()
215 (ptex->bind & PIPE_BIND_SCANOUT && sscreen->debug_flags & DBG(NO_DISPLAY_DCC)))) in si_init_surface()
268 if (sscreen->debug_flags & DBG(NO_FMASK)) in si_init_surface()
1110 if (sscreen->debug_flags & DBG(VM)) { in si_texture_create_object()
1119 if (sscreen->debug_flags & DBG(TEX)) { in si_texture_create_object()
1163 if (sscreen->debug_flags & DBG(NO_TILING) || in si_choose_tiling()
1164 (templ->bind & PIPE_BIND_SCANOUT && sscreen->debug_flags & DBG(NO_DISPLAY_TILING))) in si_choose_tiling()
1192 if (templ->width0 <= 16 || templ->height0 <= 16 || (sscreen->debug_flags & DBG(NO_2D_TILING))) in si_choose_tiling()
[all …]
Dsi_cp_reg_shadowing.c153 sctx->screen->debug_flags & DBG(SHADOW_REGS)) { in si_init_cp_reg_shadowing()
Dsi_buffer.c120 (sscreen->debug_flags & DBG(TMZ) && in si_init_resource_fields()
127 if (sscreen->debug_flags & DBG(NO_WC)) in si_init_resource_fields()
200 if (sscreen->debug_flags & DBG(VM) && res->b.b.target == PIPE_BUFFER) { in si_alloc_resource()
Dsi_gfx_cs.c90 if (sscreen->debug_flags & DBG(CHECK_VM)) in si_flush_gfx_cs()
136 if (sscreen->debug_flags & DBG(IB)) in si_flush_gfx_cs()
152 if (sscreen->debug_flags & DBG(CHECK_VM)) { in si_flush_gfx_cs()
/third_party/mesa3d/src/amd/compiler/
Daco_interface.cpp69 if (!(aco::debug_flags & aco::DEBUG_VALIDATE_IR)) in validate()
111 if (!(aco::debug_flags & aco::DEBUG_NO_VN)) in aco_compile_shader()
113 if (!(aco::debug_flags & aco::DEBUG_NO_OPT)) in aco_compile_shader()
146 if ((aco::debug_flags & aco::DEBUG_LIVE_INFO) && args->options->dump_shader) in aco_compile_shader()
150 if (!args->options->key.optimisations_disabled && !(aco::debug_flags & aco::DEBUG_NO_SCHED)) in aco_compile_shader()
167 if (!args->options->key.optimisations_disabled && !(aco::debug_flags & aco::DEBUG_NO_OPT)) { in aco_compile_shader()
185 if (program->collect_statistics || (aco::debug_flags & aco::DEBUG_PERF_INFO)) in aco_compile_shader()
Daco_ir.cpp35 uint64_t debug_flags = 0; variable
53 debug_flags = parse_debug_string(getenv("ACO_DEBUG"), aco_debug_options); in init_once()
57 debug_flags |= aco::DEBUG_VALIDATE_IR; in init_once()
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_winsys.c184 radv_amdgpu_winsys_create(int fd, uint64_t debug_flags, uint64_t perftest_flags, bool reserve_vmid) in radv_amdgpu_winsys_create() argument
224 ws->debug_all_bos = !!(debug_flags & RADV_DEBUG_ALL_BOS); in radv_amdgpu_winsys_create()
225 ws->debug_log_bos = debug_flags & RADV_DEBUG_HANG; in radv_amdgpu_winsys_create()
226 if (debug_flags & RADV_DEBUG_NO_IBS) in radv_amdgpu_winsys_create()
237 ws->zero_all_vram_allocs = debug_flags & RADV_DEBUG_ZERO_VRAM; in radv_amdgpu_winsys_create()
Dradv_amdgpu_winsys_public.h32 struct radeon_winsys *radv_amdgpu_winsys_create(int fd, uint64_t debug_flags,
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.c224 if (rscreen->b.debug_flags & DBG_FORCE_DMA) in r600_create_context()
249 return ((screen->debug_flags & DBG_NIR_PREFERRED) && in is_nir_enabled()
739 rscreen->b.debug_flags |= debug_get_flags_option("R600_DEBUG", r600_debug_options, 0); in r600_screen_create()
741 rscreen->b.debug_flags |= DBG_COMPUTE; in r600_screen_create()
743 rscreen->b.debug_flags |= DBG_ALL_SHADERS | DBG_FS; in r600_screen_create()
745 rscreen->b.debug_flags |= DBG_NO_HYPERZ; in r600_screen_create()
795 !(rscreen->b.debug_flags & DBG_NO_CP_DMA); in r600_screen_create()
841 if (rscreen->b.debug_flags & DBG_TEST_DMA) in r600_screen_create()
Dr600_pipe_common.c409 (rctx->screen->debug_flags & DBG_CHECK_VM) && in r600_flush_dma_ring()
639 if (rscreen->info.num_rings[RING_DMA] && !(rscreen->debug_flags & DBG_NO_ASYNC_DMA)) { in r600_common_context_init()
766 if (rscreen->debug_flags & DBG_ALL_SHADERS) in r600_disk_cache_create()
783 rscreen->debug_flags & in r600_disk_cache_create()
1255 rscreen->debug_flags |= debug_get_flags_option("R600_DEBUG", common_debug_options, 0); in r600_common_screen_init()
1271 if (rscreen->debug_flags & DBG_INFO) { in r600_common_screen_init()
1382 return rscreen->debug_flags & (1 << processor); in r600_can_dump_shader()
1387 return (rscreen->debug_flags & DBG_CHECK_IR) || in r600_extra_shader_checks()
Dr600_buffer_common.c175 if (rscreen->debug_flags & DBG_NO_WC) in r600_init_resource_fields()
218 if (rscreen->debug_flags & DBG_VM && res->b.b.target == PIPE_BUFFER) { in r600_alloc_resource()
405 !(rscreen->debug_flags & DBG_NO_DISCARD_RANGE) && in r600_buffer_transfer_map()
Dr600_pipe_common.h341 uint64_t debug_flags; member
930 if ((rscreen->b.debug_flags & DBG_COMPUTE)) fprintf(stderr, fmt, ##args); \
/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c82 if (cache->hash_table == NULL || (device->instance->debug_flags & RADV_DEBUG_NO_CACHE)) in radv_pipeline_cache_init()
291 return (device->instance->debug_flags & RADV_DEBUG_NO_CACHE); in radv_is_cache_disabled()
344 if (!(device->instance->debug_flags & RADV_DEBUG_NO_MEMORY_CACHE) || in radv_create_shader_variants_from_pipeline_cache()
374 if (device->instance->debug_flags & RADV_DEBUG_NO_MEMORY_CACHE && cache == device->mem_cache) in radv_create_shader_variants_from_pipeline_cache()
474 if (device->instance->debug_flags & RADV_DEBUG_NO_MEMORY_CACHE && cache == device->mem_cache) { in radv_pipeline_cache_insert_shaders()
Dradv_debug.c510 if (!(queue->device->instance->debug_flags & RADV_DEBUG_NO_UMR)) in radv_dump_queue_state()
546 if (device->instance->debug_flags) { in radv_dump_enabled_options()
549 mask = device->instance->debug_flags; in radv_dump_enabled_options()
667 if (queue->device->instance->debug_flags & RADV_DEBUG_VM_FAULTS) in radv_check_gpu_hangs()
713 if (!(device->instance->debug_flags & RADV_DEBUG_NO_UMR)) { in radv_check_gpu_hangs()
Dradv_image.c130 if (device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS) in radv_image_use_fast_clear_for_image_early()
149 if (device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS) in radv_image_use_fast_clear_for_image()
240 if (device->instance->debug_flags & RADV_DEBUG_NO_DCC) in radv_use_dcc_for_image_early()
342 (device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS)); in radv_use_fmask_for_image()
364 !(device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS) && in radv_use_htile_for_image()
378 if (device->instance->debug_flags & RADV_DEBUG_NO_TC_COMPAT_CMASK) in radv_use_tc_compat_cmask_for_image()
524 if (device->instance->debug_flags & RADV_DEBUG_NO_DISPLAY_DCC) in radv_patch_image_from_extra_info()
575 !(device->instance->debug_flags & RADV_DEBUG_NO_HIZ)) { in radv_get_surface_flags()
1433 if (device->instance->debug_flags & RADV_DEBUG_NO_FAST_CLEARS) in radv_image_can_fast_clear()
1801 if (device->instance->debug_flags & RADV_DEBUG_IMG) { in radv_image_create()
Dradv_shader.c109 if (!(device->instance->debug_flags & RADV_DEBUG_DUMP_SHADERS)) in radv_can_dump_shader()
112 return !module->nir || (device->instance->debug_flags & RADV_DEBUG_DUMP_META_SHADERS); in radv_can_dump_shader()
121 return device->instance->debug_flags & RADV_DEBUG_DUMP_SHADER_STATS && module && !module->nir; in radv_can_dump_shader_stats()
447 if (device->instance->debug_flags & RADV_DEBUG_DUMP_SPIRV) in radv_shader_compile_to_nir()
1670 if (keep_shader_info || (device->instance->debug_flags & RADV_DEBUG_DUMP_SHADERS)) { in radv_shader_variant_create()
1757 options->dump_shader && device->instance->debug_flags & RADV_DEBUG_PREOPTIR;
1760 options->check_ir = device->instance->debug_flags & RADV_DEBUG_CHECKIR;
1951 options.dump_shader = device->instance->debug_flags & RADV_DEBUG_DUMP_PROLOGS;
Dradv_device.c580 if (instance->debug_flags & RADV_DEBUG_STARTUP) in radv_physical_device_try_create()
590 if (instance->debug_flags & RADV_DEBUG_STARTUP) in radv_physical_device_try_create()
601 if (instance->debug_flags & RADV_DEBUG_STARTUP) in radv_physical_device_try_create()
608 if (instance->debug_flags & RADV_DEBUG_STARTUP) in radv_physical_device_try_create()
637 …device->ws = radv_amdgpu_winsys_create(fd, instance->debug_flags, instance->perftest_flags, false); in radv_physical_device_try_create()
671 device->use_llvm = instance->debug_flags & RADV_DEBUG_LLVM; in radv_physical_device_try_create()
705 !(device->instance->debug_flags & RADV_DEBUG_NO_OUT_OF_ORDER); in radv_physical_device_try_create()
711 !(device->instance->debug_flags & RADV_DEBUG_NO_NGG); in radv_physical_device_try_create()
718 !(device->instance->debug_flags & RADV_DEBUG_NO_NGGC); in radv_physical_device_try_create()
772 if ((device->instance->debug_flags & RADV_DEBUG_INFO)) in radv_physical_device_try_create()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_image.c129 bool noafbc = !(device->physical_device->instance->debug_flags & PANVK_DEBUG_AFBC); in panvk_image_select_mod()
130 bool linear = device->physical_device->instance->debug_flags & PANVK_DEBUG_LINEAR; in panvk_image_select_mod()
Dpanvk_device.c192 instance->debug_flags = parse_debug_string(getenv("PANVK_DEBUG"), in panvk_CreateInstance()
195 if (instance->debug_flags & PANVK_DEBUG_STARTUP) in panvk_CreateInstance()
275 if (instance->debug_flags & PANVK_DEBUG_STARTUP) in panvk_physical_device_init()
310 if (instance->debug_flags & PANVK_DEBUG_TRACE) in panvk_physical_device_init()
371 if (instance->debug_flags & PANVK_DEBUG_STARTUP) in panvk_enumerate_devices()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_nir_lower_multiview.c102 if (likely(!(dev->physical_device->instance->debug_flags & TU_DEBUG_NOMULTIPOS)) && in tu_nir_lower_multiview()
Dtu_util.c107 if (unlikely(dev->physical_device->instance->debug_flags & TU_DEBUG_FORCEBIN)) { in tu_tiling_config_update_tile_layout()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp803 if (rctx->screen->b.debug_flags & DBG_PREOPT_IR) { in r600_shader_from_nir()
953 if ((rctx->screen->b.debug_flags & DBG_NIR_PREFERRED) && in r600_shader_from_nir()
954 (rctx->screen->b.debug_flags & DBG_ALL_SHADERS)) { in r600_shader_from_nir()
981 if (!r || rctx->screen->b.debug_flags & DBG_ALL_SHADERS) { in r600_shader_from_nir()
/third_party/ninja/
DCMakeLists.txt59 src/debug_flags.cc
/third_party/mesa3d/src/gallium/drivers/r600/sb/
Dsb_core.cpp58 unsigned df = rctx->screen->b.debug_flags; in r600_sb_context_create()

1234