Home
last modified time | relevance | path

Searched refs:sdma_cs (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_dma_cs.c30 struct radeon_cmdbuf *cs = sctx->sdma_cs; in si_dma_emit_wait_idle()
41 struct radeon_cmdbuf *cs = sctx->sdma_cs; in si_dma_emit_timestamp()
68 struct radeon_cmdbuf *cs = sctx->sdma_cs; in si_sdma_clear_buffer()
132 struct radeon_cmdbuf *cs = sctx->sdma_cs; in si_sdma_copy_buffer()
217 uint64_t vram = ctx->sdma_cs->used_vram; in si_need_dma_space()
218 uint64_t gtt = ctx->sdma_cs->used_gart; in si_need_dma_space()
259 (use_secure_cmd != ctx->ws->cs_is_secure(ctx->sdma_cs) || in si_need_dma_space()
260 !ws->cs_check_space(ctx->sdma_cs, num_dw, false) || in si_need_dma_space()
261 ctx->sdma_cs->used_vram + ctx->sdma_cs->used_gart > 64 * 1024 * 1024 || in si_need_dma_space()
262 !radeon_cs_memory_below_limit(ctx->screen, ctx->sdma_cs, vram, gtt))) { in si_need_dma_space()
[all …]
Dsi_buffer.c39 if (radeon_emitted(sctx->sdma_cs, 0) && in si_rings_is_buffer_referenced()
40 sctx->ws->cs_is_buffer_referenced(sctx->sdma_cs, buf, usage)) { in si_rings_is_buffer_referenced()
73 if (radeon_emitted(sctx->sdma_cs, 0) && in si_buffer_map_sync_with_rings()
74 sctx->ws->cs_is_buffer_referenced(sctx->sdma_cs, resource->buf, rusage)) { in si_buffer_map_sync_with_rings()
91 if (sctx->sdma_cs) in si_buffer_map_sync_with_rings()
92 sctx->ws->cs_sync_flush(sctx->sdma_cs); in si_buffer_map_sync_with_rings()
795 if (radeon_emitted(ctx->sdma_cs, 0) && in si_resource_commit()
796 ctx->ws->cs_is_buffer_referenced(ctx->sdma_cs, res->buf, RADEON_USAGE_READWRITE)) { in si_resource_commit()
800 if (ctx->sdma_cs) in si_resource_commit()
801 ctx->ws->cs_sync_flush(ctx->sdma_cs); in si_resource_commit()
Dsi_fence.c171 if (sctx->sdma_cs) in si_add_fence_dependency()
172 ws->cs_add_fence_dependency(sctx->sdma_cs, fence, 0); in si_add_fence_dependency()
484 if (sctx->sdma_cs) in si_flush_from_st()
546 if (sctx->sdma_cs) in si_flush_from_st()
547 ws->cs_sync_flush(sctx->sdma_cs); in si_flush_from_st()
Dcik_sdma.c97 struct radeon_cmdbuf *cs = sctx->sdma_cs; in si_sdma_v4_copy_texture()
156 struct radeon_cmdbuf *cs = sctx->sdma_cs; in si_sdma_v4_copy_texture()
273 struct radeon_cmdbuf *cs = sctx->sdma_cs; in cik_sdma_copy_texture()
410 struct radeon_cmdbuf *cs = sctx->sdma_cs; in cik_sdma_copy_texture()
486 struct radeon_cmdbuf *cs = sctx->sdma_cs; in cik_sdma_copy_texture()
526 if (!sctx->sdma_cs || src->flags & PIPE_RESOURCE_FLAG_SPARSE || in cik_sdma_copy()
Dsi_gfx_cs.c128 assert(!radeon_emitted(ctx->sdma_cs, 0) || fence == NULL); in si_flush_gfx_cs()
147 if (radeon_emitted(ctx->sdma_cs, 0)) in si_flush_gfx_cs()
Dsi_pipe.c284 if (sctx->sdma_cs) in si_destroy_context()
285 sctx->ws->cs_destroy(sctx->sdma_cs); in si_destroy_context()
517 sctx->sdma_cs = sctx->ws->cs_create(sctx->ctx, RING_DMA, (void *)si_flush_dma_cs, sctx, in si_create_context()
521 bool use_sdma_upload = sscreen->info.has_dedicated_vram && sctx->sdma_cs; in si_create_context()
Dsi_test_dma_perf.c114 if (test_sdma && !sctx->sdma_cs) in si_test_dma_perf()
Dsi_pipe.h906 struct radeon_cmdbuf *sdma_cs; member
Dsi_texture.c53 if (!sctx->sdma_cs) in si_prepare_for_dma_blit()
/external/mesa3d/docs/relnotes/
D19.3.2.rst122 - radeonsi: check ctx->sdma_cs before using it
D20.0.0.rst2345 - radeonsi: rename dma_cs -> sdma_cs
2701 - radeonsi: check ctx->sdma_cs before using it