Home
last modified time | relevance | path

Searched refs:vsc_prim_strm_pitch (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_gmem.c341 if (batch->prim_strm_bits/8 > fd6_ctx->vsc_prim_strm_pitch) { in update_vsc_pipe()
345 fd6_ctx->vsc_prim_strm_pitch = align(batch->prim_strm_bits/8, 0x4000); in update_vsc_pipe()
347 fd6_ctx->vsc_prim_strm_pitch); in update_vsc_pipe()
358 VSC_PRIM_STRM_SIZE(fd6_ctx->vsc_prim_strm_pitch), in update_vsc_pipe()
382 A6XX_VSC_PRIM_STRM_PITCH(.dword = fd6_ctx->vsc_prim_strm_pitch), in update_vsc_pipe()
383 A6XX_VSC_PRIM_STRM_LIMIT(.dword = fd6_ctx->vsc_prim_strm_pitch - 64)); in update_vsc_pipe()
408 debug_assert((fd6_ctx->vsc_prim_strm_pitch & 0x3) == 0); in emit_vsc_overflow_test()
427 OUT_RING(ring, CP_COND_WRITE5_3_REF(fd6_ctx->vsc_prim_strm_pitch - 64)); in emit_vsc_overflow_test()
430 OUT_RING(ring, CP_COND_WRITE5_7_WRITE_DATA(3 + fd6_ctx->vsc_prim_strm_pitch)); in emit_vsc_overflow_test()
473 if (size < fd6_ctx->vsc_prim_strm_pitch) { in check_vsc_overflow()
[all …]
Dfd6_context.h62 unsigned vsc_draw_strm_pitch, vsc_prim_strm_pitch; member
Dfd6_context.c179 fd6_ctx->vsc_prim_strm_pitch = 0x1040; in fd6_context_create()
/external/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c595 tu_cs_emit(cs, pipe * cmd->vsc_prim_strm_pitch); in tu6_emit_tile_select()
831 if (vsc_prim_overflow >= dev->vsc_prim_strm_pitch) in tu6_init_hw()
832 dev->vsc_prim_strm_pitch = (dev->vsc_prim_strm_pitch - VSC_PAD) * 2 + VSC_PAD; in tu6_init_hw()
834 cmd->vsc_prim_strm_pitch = dev->vsc_prim_strm_pitch; in tu6_init_hw()
840 uint32_t size0 = cmd->vsc_prim_strm_pitch * MAX_VSC_PIPES + in tu6_init_hw()
851 … .bo_offset = cmd->vsc_prim_strm_pitch * MAX_VSC_PIPES)); in tu6_init_hw()
873 A6XX_VSC_PRIM_STRM_PITCH(cmd->vsc_prim_strm_pitch), in update_vsc_pipe()
874 A6XX_VSC_PRIM_STRM_LIMIT(cmd->vsc_prim_strm_pitch - VSC_PAD)); in update_vsc_pipe()
904 tu_cs_emit(cs, CP_COND_WRITE5_3_REF(cmd->vsc_prim_strm_pitch - VSC_PAD)); in emit_vsc_overflow_test()
907 tu_cs_emit(cs, CP_COND_WRITE5_7_WRITE_DATA(cmd->vsc_prim_strm_pitch)); in emit_vsc_overflow_test()
Dtu_private.h385 uint32_t vsc_prim_strm_pitch; member
972 uint32_t vsc_prim_strm_pitch; member
Dtu_device.c1074 device->vsc_prim_strm_pitch = 0x4000 + VSC_PAD; in tu_CreateDevice()