Home
last modified time | relevance | path

Searched refs:debug_flags (Results 1 - 25 of 75) sorted by relevance

123

/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
H A Dradv_amdgpu_winsys.c194 radv_amdgpu_winsys_create(int fd, uint64_t debug_flags, uint64_t perftest_flags, bool reserve_vmid) in radv_amdgpu_winsys_create() argument
226 if (((debug_flags & RADV_DEBUG_ALL_BOS) && !ws->debug_all_bos) || in radv_amdgpu_winsys_create()
227 ((debug_flags & RADV_DEBUG_HANG) && !ws->debug_log_bos) || in radv_amdgpu_winsys_create()
228 ((debug_flags & RADV_DEBUG_NO_IBS) && ws->use_ib_bos) || in radv_amdgpu_winsys_create()
235 if (debug_flags & RADV_DEBUG_ZERO_VRAM) in radv_amdgpu_winsys_create()
252 ws->debug_all_bos = !!(debug_flags & RADV_DEBUG_ALL_BOS); in radv_amdgpu_winsys_create()
253 ws->debug_log_bos = debug_flags & RADV_DEBUG_HANG; in radv_amdgpu_winsys_create()
254 if (debug_flags & RADV_DEBUG_NO_IBS) in radv_amdgpu_winsys_create()
280 ws->zero_all_vram_allocs = debug_flags & RADV_DEBUG_ZERO_VRAM; in radv_amdgpu_winsys_create()
H A 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/
H A Dr600_pipe.c223 if (rscreen->b.debug_flags & DBG_FORCE_DMA) in r600_create_context()
248 return (screen->debug_flags & DBG_NIR_PREFERRED); /* && in is_nir_enabled()
322 return rscreen->b.debug_flags & DBG_NIR_PREFERRED; in r600_get_param()
625 if (rscreen->b.debug_flags & DBG_USE_TGSI) in r600_get_shader_param()
717 rscreen->b.debug_flags |= debug_get_flags_option("R600_DEBUG", r600_debug_options, 0); in r600_screen_create()
719 rscreen->b.debug_flags |= DBG_COMPUTE; in r600_screen_create()
721 rscreen->b.debug_flags |= DBG_ALL_SHADERS | DBG_FS; in r600_screen_create()
723 rscreen->b.debug_flags |= DBG_NO_HYPERZ; in r600_screen_create()
751 rscreen->b.has_cp_dma = !(rscreen->b.debug_flags & DBG_NO_CP_DMA); in r600_screen_create()
797 if (rscreen->b.debug_flags in r600_screen_create()
[all...]
H A Dr600_pipe_common.c409 (rctx->screen->debug_flags & DBG_CHECK_VM) && in r600_flush_dma_ring()
639 if (rscreen->info.ip[AMD_IP_SDMA].num_queues && !(rscreen->debug_flags & DBG_NO_ASYNC_DMA)) { in r600_common_context_init()
761 if (rscreen->debug_flags & DBG_ALL_SHADERS) in r600_disk_cache_create()
778 rscreen->debug_flags & in r600_disk_cache_create()
1263 rscreen->debug_flags |= debug_get_flags_option("R600_DEBUG", common_debug_options, 0); in r600_common_screen_init()
1279 if (rscreen->debug_flags & DBG_INFO) { in r600_common_screen_init()
1394 if (!(rscreen->debug_flags & DBG_NIR_PREFERRED)) { in r600_common_screen_init()
1445 return rscreen->debug_flags & (1 << processor); in r600_can_dump_shader()
1450 return (rscreen->debug_flags & DBG_CHECK_IR) || in r600_extra_shader_checks()
H A Dr600_buffer_common.c152 if (rscreen->debug_flags & DBG_NO_WC) in r600_init_resource_fields()
195 if (rscreen->debug_flags & DBG_VM && res->b.b.target == PIPE_BUFFER) { in r600_alloc_resource()
378 !(rscreen->debug_flags & DBG_NO_DISCARD_RANGE) && in r600_buffer_transfer_map()
/third_party/mesa3d/src/amd/compiler/
H A Daco_interface.cpp72 return aco::debug_flags & ~exclude; in aco_get_codegen_flags()
78 if (!(aco::debug_flags & aco::DEBUG_VALIDATE_IR)) in validate()
134 if (!(aco::debug_flags & aco::DEBUG_NO_VN)) in aco_postprocess_shader()
136 if (!(aco::debug_flags & aco::DEBUG_NO_OPT)) in aco_postprocess_shader()
168 if ((aco::debug_flags & aco::DEBUG_LIVE_INFO) && options->dump_shader) in aco_postprocess_shader()
172 if (!options->key.optimisations_disabled && !(aco::debug_flags & aco::DEBUG_NO_SCHED)) in aco_postprocess_shader()
189 if (!options->key.optimisations_disabled && !(aco::debug_flags & aco::DEBUG_NO_OPT)) { in aco_postprocess_shader()
207 if (program->collect_statistics || (aco::debug_flags & aco::DEBUG_PERF_INFO)) in aco_postprocess_shader()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_pipe.c147 (sscreen->debug_flags & DBG(CHECK_IR) ? AC_TM_CHECK_IR : 0) | in si_init_compiler()
855 if (sscreen->debug_flags & DBG(CHECK_VM)) in si_pipe_create_context()
860 if (ctx && sscreen->info.gfx_level >= GFX9 && sscreen->debug_flags & DBG(SQTT)) { in si_pipe_create_context()
881 if (sscreen->debug_flags & DBG_ALL_SHADERS) in si_pipe_create_context()
916 if (sscreen->debug_flags & DBG(CACHE_STATS)) { in si_destroy_screen()
1057 if (sscreen->debug_flags & DBG_ALL_SHADERS) in si_disk_cache_create()
1126 sscreen->debug_flags = debug_get_flags_option("R600_DEBUG", radeonsi_debug_options, 0); in radeonsi_screen_create_impl()
1127 sscreen->debug_flags |= debug_get_flags_option("AMD_DEBUG", radeonsi_debug_options, 0); in radeonsi_screen_create_impl()
1130 if (sscreen->debug_flags & DBG(NO_GFX)) in radeonsi_screen_create_impl()
1133 if ((sscreen->debug_flags in radeonsi_screen_create_impl()
[all...]
H A Dsi_texture.c197 if ((sscreen->debug_flags & DBG(NO_HYPERZ)) || in si_init_surface()
223 if (ptex->nr_samples >= 2 && sscreen->debug_flags & DBG(NO_DCC_MSAA)) in si_init_surface()
230 (sscreen->debug_flags & DBG(NO_DCC) || in si_init_surface()
231 (ptex->bind & PIPE_BIND_SCANOUT && sscreen->debug_flags & DBG(NO_DISPLAY_DCC)))) in si_init_surface()
286 if (sscreen->debug_flags & DBG(NO_FMASK)) in si_init_surface()
724 if (sscreen->debug_flags & DBG(NO_EXPORTED_DCC) || in si_texture_get_handle()
1149 if (sscreen->debug_flags & DBG(VM)) { in si_texture_create_object()
1158 if (sscreen->debug_flags & DBG(TEX)) { in si_texture_create_object()
1202 if (sscreen->debug_flags & DBG(NO_TILING) || in si_choose_tiling()
1203 (templ->bind & PIPE_BIND_SCANOUT && sscreen->debug_flags in si_choose_tiling()
[all...]
H A Dsi_buffer.c111 (sscreen->debug_flags & DBG(TMZ) && in si_init_resource_fields()
118 if (sscreen->debug_flags & DBG(NO_WC)) in si_init_resource_fields()
203 if (sscreen->debug_flags & DBG(VM) && res->b.b.target == PIPE_BUFFER) { in si_alloc_resource()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_meta.c42 if ((instance->debug_flags & DZN_DEBUG_NIR) && in dzn_meta_compile_shader()
43 (instance->debug_flags & DZN_DEBUG_INTERNAL)) in dzn_meta_compile_shader()
63 if ((instance->debug_flags & DZN_DEBUG_DXIL) && in dzn_meta_compile_shader()
64 (instance->debug_flags & DZN_DEBUG_INTERNAL)) { in dzn_meta_compile_shader()
78 if ((instance->debug_flags & DZN_DEBUG_DXIL) && in dzn_meta_compile_shader()
79 (instance->debug_flags & DZN_DEBUG_INTERNAL) && in dzn_meta_compile_shader()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_util.c91 if (unlikely(dev->physical_device->instance->debug_flags & TU_DEBUG_FORCEBIN)) { in tu_tiling_config_update_tile_layout()
213 if (unlikely(device->physical_device->instance->debug_flags & TU_DEBUG_FORCEBIN)) in tu_tiling_config_update_binning()
215 if (unlikely(device->physical_device->instance->debug_flags & in tu_tiling_config_update_binning()
H A Dtu_util.h40 instance->debug_flags & TU_DEBUG_STARTUP, \
380 if (unlikely((device)->instance->debug_flags & TU_DEBUG_PERF)) \
H A Dtu_image.c442 else if (device->physical_device->instance->debug_flags & TU_DEBUG_NOUBWC) in tu_image_init()
506 if (device->instance->debug_flags & TU_DEBUG_LAYOUT) in tu_image_init()
525 if (util_format_has_depth(desc) && !(device->instance->debug_flags & TU_DEBUG_NOLRZ)) in tu_image_init()
562 !unlikely(device->physical_device->instance->debug_flags & TU_DEBUG_NOLRZFC); in tu_image_init()
H A Dtu_lrz.c191 assert((cmd->device->instance->debug_flags & TU_DEBUG_NOLRZ) || in tu_lrz_init_state()
241 if (cmd->device->instance->debug_flags & TU_DEBUG_NOLRZ) in tu_lrz_init_secondary()
657 (cmd->device->instance->debug_flags & TU_DEBUG_NOLRZ)) in tu6_calculate_lrz_state()
H A Dtu_nir_lower_multiview.c105 if (likely(!(dev->physical_device->instance->debug_flags & TU_DEBUG_NOMULTIPOS)) && in tu_nir_lower_multiview()
H A Dtu_device.c58 uint64_t driver_flags = device->instance->debug_flags & TU_DEBUG_NOMULTIPOS; in tu_device_get_cache_uuid()
145 .KHR_performance_query = device->instance->debug_flags & TU_DEBUG_PERFC, in get_device_extensions()
398 instance->debug_flags |= TU_DEBUG_DONT_CARE_AS_LOAD; in tu_init_dri_options()
437 instance->debug_flags = in tu_CreateInstance()
445 instance->debug_flags |= TU_DEBUG_STARTUP; in tu_CreateInstance()
448 if (instance->debug_flags & TU_DEBUG_STARTUP) in tu_CreateInstance()
2647 if (unlikely(device->instance->debug_flags & TU_DEBUG_DYNAMIC)) in tu_CreateFramebuffer()
2709 if (unlikely(device->instance->debug_flags & TU_DEBUG_DYNAMIC)) { in tu_DestroyFramebuffer()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_image.c105 bool noafbc = !(device->physical_device->instance->debug_flags & PANVK_DEBUG_AFBC); in panvk_image_select_mod()
106 bool linear = device->physical_device->instance->debug_flags & PANVK_DEBUG_LINEAR; in panvk_image_select_mod()
H A Dpanvk_device.c205 instance->debug_flags = parse_debug_string(getenv("PANVK_DEBUG"), in panvk_CreateInstance()
208 if (instance->debug_flags & PANVK_DEBUG_STARTUP) in panvk_CreateInstance()
288 if (instance->debug_flags & PANVK_DEBUG_STARTUP) in panvk_physical_device_init()
323 if (instance->debug_flags & PANVK_DEBUG_TRACE) in panvk_physical_device_init()
394 if (instance->debug_flags & PANVK_DEBUG_STARTUP) in panvk_enumerate_devices()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_shader.c61 device->instance->debug_flags & RADV_DEBUG_SPLIT_FMA; in get_nir_options_for_stage()
149 if (!(device->instance->debug_flags & RADV_DEBUG_DUMP_SHADERS)) in radv_can_dump_shader()
153 !(device->instance->debug_flags & RADV_DEBUG_DUMP_META_SHADERS)) in radv_can_dump_shader()
163 return device->instance->debug_flags & RADV_DEBUG_DUMP_SHADER_STATS && !is_meta_shader(nir); in radv_can_dump_shader_stats()
699 bool dump_meta = device->instance->debug_flags & RADV_DEBUG_DUMP_META_SHADERS; in radv_shader_spirv_to_nir()
700 if ((device->instance->debug_flags & RADV_DEBUG_DUMP_SPIRV) && in radv_shader_spirv_to_nir()
2078 if (keep_shader_info || (device->instance->debug_flags & RADV_DEBUG_DUMP_SHADERS)) { in radv_shader_create()
2215 options->dump_shader && device->instance->debug_flags & RADV_DEBUG_PREOPTIR;
2218 options->check_ir = device->instance->debug_flags & RADV_DEBUG_CHECKIR;
2433 options.dump_shader = device->instance->debug_flags
[all...]
H A Dradv_pipeline_cache.c71 return (device->instance->debug_flags & RADV_DEBUG_NO_CACHE) || in radv_is_cache_disabled()
363 if (!(device->instance->debug_flags & RADV_DEBUG_NO_MEMORY_CACHE) || in radv_create_shaders_from_pipeline_cache()
430 if (device->instance->debug_flags & RADV_DEBUG_NO_MEMORY_CACHE && cache == device->mem_cache) in radv_create_shaders_from_pipeline_cache()
537 if (device->instance->debug_flags & RADV_DEBUG_NO_MEMORY_CACHE && cache == device->mem_cache) { in radv_pipeline_cache_insert_shaders()
H A Dradv_image.c126 if (device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS) in radv_image_use_fast_clear_for_image_early()
145 if (device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS) in radv_image_use_fast_clear_for_image()
236 if (device->instance->debug_flags & RADV_DEBUG_NO_DCC) in radv_use_dcc_for_image_early()
339 (device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS)); in radv_use_fmask_for_image()
366 !(device->instance->debug_flags & RADV_DEBUG_FORCE_COMPRESS) && in radv_use_htile_for_image()
380 if (device->instance->debug_flags & RADV_DEBUG_NO_TC_COMPAT_CMASK) in radv_use_tc_compat_cmask_for_image()
528 if (device->instance->debug_flags & RADV_DEBUG_NO_DISPLAY_DCC) in radv_patch_image_from_extra_info()
622 !(device->instance->debug_flags & RADV_DEBUG_NO_HIZ)) { in radv_get_surface_flags()
1545 if (device->instance->debug_flags & RADV_DEBUG_NO_FAST_CLEARS) in radv_image_can_fast_clear()
1924 if (device->instance->debug_flags in radv_image_create()
[all...]
H A Dradv_wsi.c62 !(device->physical_device->instance->debug_flags & RADV_DEBUG_NO_DMA_BLIT)) { in radv_wsi_get_prime_blit_queue()
H A Dradv_debug.c541 if (!(queue->device->instance->debug_flags & RADV_DEBUG_NO_UMR)) in radv_dump_queue_state()
577 if (device->instance->debug_flags) { in radv_dump_enabled_options()
580 mask = device->instance->debug_flags; in radv_dump_enabled_options()
695 if (queue->device->instance->debug_flags & RADV_DEBUG_VM_FAULTS) in radv_check_gpu_hangs()
741 if (!(device->instance->debug_flags & RADV_DEBUG_NO_UMR)) { in radv_check_gpu_hangs()
H A Dradv_device.c391 !(pdevice->instance->debug_flags & RADV_DEBUG_NO_COMPUTE_QUEUE) && in radv_taskmesh_enabled()
620 !(device->instance->debug_flags & RADV_DEBUG_NO_IBS) && in radv_physical_device_get_supported_extensions()
651 !(pdevice->instance->debug_flags & RADV_DEBUG_NO_COMPUTE_QUEUE)) { in radv_physical_device_init_queue_table()
696 if (instance->debug_flags & RADV_DEBUG_STARTUP) in radv_physical_device_try_create()
727 device->ws = radv_amdgpu_winsys_create(fd, instance->debug_flags, instance->perftest_flags, in radv_physical_device_try_create()
770 device->use_llvm = instance->debug_flags & RADV_DEBUG_LLVM; in radv_physical_device_try_create()
816 !(device->instance->debug_flags & RADV_DEBUG_NO_OUT_OF_ORDER); in radv_physical_device_try_create()
822 !(device->instance->debug_flags & RADV_DEBUG_NO_NGG)) || in radv_physical_device_try_create()
828 !(device->instance->debug_flags & RADV_DEBUG_NO_NGGC); in radv_physical_device_try_create()
886 if ((device->instance->debug_flags in radv_physical_device_try_create()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_nir.cpp652 if (rctx->screen->b.debug_flags & DBG_PREOPT_IR) { in r600_shader_from_nir()
796 if ((rctx->screen->b.debug_flags & DBG_NIR_PREFERRED) && in r600_shader_from_nir()
797 (rctx->screen->b.debug_flags & DBG_ALL_SHADERS)) { in r600_shader_from_nir()

Completed in 37 milliseconds

123