Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_query.c134 struct fd_bo *scratch_bo = fd4_context(batch->ctx)->vsc_size_mem; in time_elapsed_get_sample() local
172 OUT_RELOC(ring, scratch_bo, sample_off, 0, 0); in time_elapsed_get_sample()
186 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
194 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
199 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
206 OUT_RELOC(ring, scratch_bo, sample_off, 0, 0); in time_elapsed_get_sample()
211 OUT_RELOC(ring, scratch_bo, sample_off + 0x4, 0, 0); in time_elapsed_get_sample()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c488 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer()
495 si_resource_reference(&shader->scratch_bo, sctx->compute_scratch_buffer); in si_setup_compute_scratch_buffer()
550 if (shader->scratch_bo) { in si_switch_compute_shader()
551 radeon_add_to_buffer_list(sctx, &sctx->gfx_cs, shader->scratch_bo, in si_switch_compute_shader()
573 if (sctx->gfx_level >= GFX11 && shader->scratch_bo) { in si_switch_compute_shader()
Dsi_shader.h852 struct si_resource *scratch_bo; member
Dsi_shader.c2504 assert(!sel->main_shader_part->gs_copy_shader->scratch_bo); in si_create_shader_variant()
2632 if (shader->scratch_bo) in si_shader_destroy()
2633 si_resource_reference(&shader->scratch_bo, NULL); in si_shader_destroy()
Dsi_state_shaders.cpp3958 if (shader->scratch_bo == sctx->scratch_buffer) { in si_update_scratch_buffer()
3974 si_resource_reference(&shader->scratch_bo, sctx->scratch_buffer); in si_update_scratch_buffer()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device.c2880 if (queue->scratch_bo) in radv_queue_state_finish()
2881 ws->buffer_destroy(ws, queue->scratch_bo); in radv_queue_state_finish()
4201 struct radeon_winsys_bo *scratch_bo) in radv_emit_graphics_scratch() argument
4205 if (!scratch_bo) in radv_emit_graphics_scratch()
4208 radv_cs_add_buffer(device->ws, cs, scratch_bo); in radv_emit_graphics_scratch()
4211 uint64_t va = radv_buffer_get_va(scratch_bo); in radv_emit_graphics_scratch()
4358 struct radeon_winsys_bo *scratch_bo = queue->scratch_bo; in radv_update_preamble_cs() local
4379 RADV_BO_PRIORITY_SCRATCH, 0, &scratch_bo); in radv_update_preamble_cs()
4475 scratch_bo != queue->scratch_bo || esgs_ring_bo != queue->esgs_ring_bo || in radv_update_preamble_cs()
4484 } else if (scratch_bo) { in radv_update_preamble_cs()
[all …]
Dradv_private.h747 struct radeon_winsys_bo *scratch_bo; member
/third_party/mesa3d/docs/relnotes/
D10.2.9.rst58 - radeonsi: properly destroy the GS copy shader and scratch_bo for
D10.3.1.rst95 - radeonsi: properly destroy the GS copy shader and scratch_bo for
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c2417 struct iris_bo *scratch_bo = in iris_get_scratch_surf() local
2424 .address = scratch_bo->address, in iris_get_scratch_surf()
2425 .size_B = scratch_bo->size, in iris_get_scratch_surf()
2428 .mocs = iris_mocs(scratch_bo, &screen->isl_dev, 0), in iris_get_scratch_surf()
Diris_state.c5247 struct iris_bo *scratch_bo = in pin_scratch_space() local
5249 iris_use_pinned_bo(batch, scratch_bo, true, IRIS_DOMAIN_NONE); in pin_scratch_space()
5261 scratch_addr = scratch_bo->address; in pin_scratch_space()