Home
last modified time | relevance | path

Searched refs:pvtmem (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/freedreno/computerator/examples/
Dpvtmem.asm3 @pvtmem 4
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_program.c109 if (per_fiber_size > ctx->pvtmem[so->pvtmem_per_wave].per_fiber_size) { in fd6_emit_shader()
110 if (ctx->pvtmem[so->pvtmem_per_wave].bo) in fd6_emit_shader()
111 fd_bo_del(ctx->pvtmem[so->pvtmem_per_wave].bo); in fd6_emit_shader()
112 ctx->pvtmem[so->pvtmem_per_wave].per_fiber_size = per_fiber_size; in fd6_emit_shader()
115 ctx->pvtmem[so->pvtmem_per_wave].bo = fd_bo_new( in fd6_emit_shader()
120 per_fiber_size = ctx->pvtmem[so->pvtmem_per_wave].per_fiber_size; in fd6_emit_shader()
133 OUT_RELOC(ring, ctx->pvtmem[so->pvtmem_per_wave].bo, 0, 0, 0); in fd6_emit_shader()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_context.c350 for (i = 0; i < ARRAY_SIZE(ctx->pvtmem); i++) { in fd_context_destroy()
351 if (ctx->pvtmem[i].bo) in fd_context_destroy()
352 fd_bo_del(ctx->pvtmem[i].bo); in fd_context_destroy()
Dfreedreno_context.h432 } pvtmem[2] dt; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_pipeline.c262 struct tu_pvtmem_config pvtmem; member
472 const struct tu_pvtmem_config *pvtmem, in tu6_emit_xs() argument
549 assert((pvtmem->iova & 0x1f) == 0); in tu6_emit_xs()
555 A6XX_SP_VS_PVT_MEM_PARAM_MEMSIZEPERITEM(pvtmem->per_fiber_size)); in tu6_emit_xs()
556 tu_cs_emit_qw(cs, pvtmem->iova); in tu6_emit_xs()
557 tu_cs_emit(cs, A6XX_SP_VS_PVT_MEM_SIZE_TOTALPVTMEMSIZE(pvtmem->per_sp_size) | in tu6_emit_xs()
558 COND(pvtmem->per_wave, A6XX_SP_VS_PVT_MEM_SIZE_PERWAVEMEMLAYOUT)); in tu6_emit_xs()
561 tu_cs_emit(cs, A6XX_SP_VS_PVT_MEM_HW_STACK_OFFSET_OFFSET(pvtmem->per_sp_size)); in tu6_emit_xs()
674 const struct tu_pvtmem_config *pvtmem, in tu6_emit_cs_config() argument
686 tu6_emit_xs(cs, MESA_SHADER_COMPUTE, v, pvtmem, binary_iova); in tu6_emit_cs_config()
[all …]
Dtu_pipeline.h249 const struct tu_pvtmem_config *pvtmem,
Dtu_clear_blit.c737 struct tu_pvtmem_config pvtmem = {}; in r3d_common() local
738 tu6_emit_xs(cs, MESA_SHADER_VERTEX, vs, &pvtmem, vs_iova); in r3d_common()
739 tu6_emit_xs(cs, MESA_SHADER_FRAGMENT, fs, &pvtmem, fs_iova); in r3d_common()
/third_party/mesa3d/src/freedreno/computerator/
Da6xx.c216 struct fd_bo *pvtmem = fd_bo_new(a6xx_backend->dev, total_size, 0, "pvtmem"); in cs_program_emit() local
219 OUT_RELOC(ring, pvtmem, 0, 0, 0); in cs_program_emit()
/third_party/mesa3d/docs/relnotes/
D22.0.2.rst136 - turnip: Stop allocating unused pvtmem space in the pipeline CS.
D22.1.0.rst1215 - turnip: Stop allocating unused pvtmem space in the pipeline CS.
D21.3.0.rst927 - freedreno/computerator: Add support for pvtmem
D21.2.0.rst1440 - ir3: Only use per-wave pvtmem layout for compute
/third_party/mesa3d/ohos/
Ddependency_inputs.gni1268 "../src/freedreno/computerator/examples/pvtmem.asm",