/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_test_dma_perf.c | 83 unsigned cache_policy; in si_test_dma_perf() member 106 unsigned cache_policy = in si_test_dma_perf() local 113 if (test_cp && cache_policy != L2_BYPASS) in si_test_dma_perf() 123 if (test_cs && cache_policy && sctx->chip_class < GFX9) in si_test_dma_perf() 129 cache_policy == L2_LRU ? "LRU" : cache_policy == L2_STREAM ? "Str" : ""); in si_test_dma_perf() 142 cache_policy == L2_STREAM, is_copy); in si_test_dma_perf() 156 unsigned flags = cache_policy == L2_BYPASS ? SI_RESOURCE_FLAG_UNCACHED : 0; in si_test_dma_perf() 186 SI_COHERENCY_NONE, cache_policy); in si_test_dma_perf() 190 cache_policy); in si_test_dma_perf() 237 (cache_policy == L2_LRU ? 0 : SI_CONTEXT_INV_L2) | in si_test_dma_perf() [all …]
|
D | si_cp_dma.c | 58 enum si_cache_policy cache_policy) in si_emit_cp_dma() argument 63 assert(sctx->chip_class != GFX6 || cache_policy == L2_BYPASS); in si_emit_cp_dma() 84 } else if (sctx->chip_class >= GFX7 && cache_policy != L2_BYPASS) { in si_emit_cp_dma() 86 S_411_DST_SEL(V_411_DST_ADDR_TC_L2) | S_500_DST_CACHE_POLICY(cache_policy == L2_STREAM); in si_emit_cp_dma() 95 } else if (sctx->chip_class >= GFX7 && cache_policy != L2_BYPASS) { in si_emit_cp_dma() 97 S_411_SRC_SEL(V_411_SRC_ADDR_TC_L2) | S_500_SRC_CACHE_POLICY(cache_policy == L2_STREAM); in si_emit_cp_dma() 191 enum si_cache_policy cache_policy) in si_cp_dma_clear_buffer() argument 212 sctx->flags |= si_get_flush_flags(sctx, coher, cache_policy); in si_cp_dma_clear_buffer() 223 si_emit_cp_dma(sctx, cs, va, value, byte_count, dma_flags, cache_policy); in si_cp_dma_clear_buffer() 229 if (sdst && cache_policy != L2_BYPASS) in si_cp_dma_clear_buffer() [all …]
|
D | si_compute_blit.c | 45 enum si_cache_policy cache_policy) in si_get_flush_flags() argument 54 (cache_policy == L2_BYPASS ? SI_CONTEXT_INV_L2 : 0); in si_get_flush_flags() 404 enum si_cache_policy cache_policy = get_cache_policy(sctx, coher, size); in si_copy_buffer() local 415 flags, coher, cache_policy); in si_copy_buffer()
|
D | si_pipe.h | 1346 enum si_cache_policy cache_policy); 1389 enum si_cache_policy cache_policy); 1393 enum si_cache_policy cache_policy);
|
/third_party/mesa3d/src/amd/llvm/ |
D | ac_llvm_build.h | 258 unsigned inst_offset, unsigned cache_policy); 261 LLVMValueRef vindex, LLVMValueRef voffset, unsigned cache_policy); 266 unsigned cache_policy, bool can_speculate, bool allow_smem); 270 unsigned num_channels, unsigned cache_policy, 275 LLVMValueRef immoffset, unsigned cache_policy); 279 LLVMValueRef immoffset, unsigned cache_policy); 285 unsigned cache_policy, bool can_speculate); 290 unsigned nfmt, unsigned cache_policy, bool can_speculate); 297 LLVMValueRef soffset, unsigned cache_policy, 302 unsigned cache_policy); [all …]
|
D | ac_llvm_build.c | 1113 static unsigned get_load_cache_policy(struct ac_llvm_context *ctx, unsigned cache_policy) in get_load_cache_policy() argument 1115 return cache_policy | (ctx->chip_class >= GFX10 && cache_policy & ac_glc ? ac_dlc : 0); in get_load_cache_policy() 1121 unsigned cache_policy, bool use_format, bool structurized) in ac_build_buffer_store_common() argument 1131 args[idx++] = LLVMConstInt(ctx->i32, cache_policy, 0); in ac_build_buffer_store_common() 1148 LLVMValueRef vindex, LLVMValueRef voffset, unsigned cache_policy) in ac_build_buffer_store_format() argument 1150 ac_build_buffer_store_common(ctx, rsrc, data, vindex, voffset, NULL, cache_policy, true, true); in ac_build_buffer_store_format() 1159 unsigned inst_offset, unsigned cache_policy) in ac_build_buffer_store_dword() argument 1170 ac_build_buffer_store_dword(ctx, rsrc, v01, 2, voffset, soffset, inst_offset, cache_policy); in ac_build_buffer_store_dword() 1172 cache_policy); in ac_build_buffer_store_dword() 1180 if (!(cache_policy & ac_swizzled)) { in ac_build_buffer_store_dword() [all …]
|
D | ac_nir_to_llvm.c | 1752 unsigned cache_policy = 0; in get_cache_policy() local 1764 cache_policy |= ac_glc; in get_cache_policy() 1768 cache_policy |= ac_slc | ac_glc; in get_cache_policy() 1770 return cache_policy; in get_cache_policy() 1792 unsigned cache_policy = get_cache_policy(ctx, access, false, writeonly_memory); in visit_store_ssbo() local 1845 ac_build_tbuffer_store_byte(&ctx->ac, rsrc, data, offset, ctx->ac.i32_0, cache_policy); in visit_store_ssbo() 1847 ac_build_tbuffer_store_short(&ctx->ac, rsrc, data, offset, ctx->ac.i32_0, cache_policy); in visit_store_ssbo() 1870 cache_policy); in visit_store_ssbo() 2044 unsigned cache_policy = get_cache_policy(ctx, access, false, false); in visit_load_buffer() local 2068 cache_policy); in visit_load_buffer() [all …]
|