Home
last modified time | relevance | path

Searched refs:scratch_bo (Results 1 – 15 of 15) 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/mesa/drivers/dri/i965/
Dbrw_program.c407 struct brw_bo **scratch_bo, int size) in brw_get_scratch_bo() argument
409 struct brw_bo *old_bo = *scratch_bo; in brw_get_scratch_bo()
417 *scratch_bo = in brw_get_scratch_bo()
436 if (stage_state->scratch_bo) in brw_alloc_stage_scratch()
437 brw_bo_unreference(stage_state->scratch_bo); in brw_alloc_stage_scratch()
442 stage_state->scratch_bo = in brw_alloc_stage_scratch()
Dbrw_context.c1269 brw_bo_unreference(brw->vs.base.scratch_bo); in brw_destroy_context()
1270 brw_bo_unreference(brw->tcs.base.scratch_bo); in brw_destroy_context()
1271 brw_bo_unreference(brw->tes.base.scratch_bo); in brw_destroy_context()
1272 brw_bo_unreference(brw->gs.base.scratch_bo); in brw_destroy_context()
1273 brw_bo_unreference(brw->wm.base.scratch_bo); in brw_destroy_context()
Dbrw_context.h624 struct brw_bo *scratch_bo; member
1363 struct brw_bo **scratch_bo, int size);
DgenX_state_upload.c1968 wm.ScratchSpaceBasePointer = rw_32_bo(stage_state->scratch_bo, 0);
2107 pkt.ScratchSpaceBasePointer = rw_32_bo(stage_state->scratch_bo, 0); \
3989 rw_32_bo(stage_state->scratch_bo,
4320 vfe.ScratchSpaceBasePointer = rw_32_bo(stage_state->scratch_bo, 0);
/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/amd/vulkan/
Dradv_device.c2616 if (queue->scratch_bo) in radv_queue_finish()
2617 queue->device->ws->buffer_destroy(queue->device->ws, queue->scratch_bo); in radv_queue_finish()
3636 struct radeon_winsys_bo *scratch_bo) in radv_emit_graphics_scratch() argument
3641 if (!scratch_bo) in radv_emit_graphics_scratch()
3644 radv_cs_add_buffer(queue->device->ws, cs, scratch_bo); in radv_emit_graphics_scratch()
3748 struct radeon_winsys_bo *scratch_bo = NULL; in radv_get_preamble_cs() local
3821 ring_bo_flags, RADV_BO_PRIORITY_SCRATCH, 0, &scratch_bo); in radv_get_preamble_cs()
3825 scratch_bo = queue->scratch_bo; in radv_get_preamble_cs()
3899 if (scratch_bo != queue->scratch_bo || esgs_ring_bo != queue->esgs_ring_bo || in radv_get_preamble_cs()
3907 } else if (scratch_bo) in radv_get_preamble_cs()
[all …]
Dradv_private.h679 struct radeon_winsys_bo *scratch_bo; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c463 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer()
469 si_resource_reference(&shader->scratch_bo, sctx->compute_scratch_buffer); in si_setup_compute_scratch_buffer()
519 if (shader->scratch_bo) { in si_switch_compute_shader()
526 radeon_add_to_buffer_list(sctx, &sctx->gfx_cs, shader->scratch_bo, RADEON_USAGE_READWRITE, in si_switch_compute_shader()
Dsi_shader.h779 struct si_resource *scratch_bo; member
Dsi_shader.c2168 if (shader->scratch_bo) in si_shader_destroy()
2169 si_resource_reference(&shader->scratch_bo, NULL); in si_shader_destroy()
Dsi_state_shaders.c3747 if (shader->scratch_bo == sctx->scratch_buffer) { in si_update_scratch_buffer()
3763 si_resource_reference(&shader->scratch_bo, sctx->scratch_buffer); in si_update_scratch_buffer()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c2399 struct iris_bo *scratch_bo = in iris_get_scratch_surf() local
2406 .address = scratch_bo->address, in iris_get_scratch_surf()
2407 .size_B = scratch_bo->size, in iris_get_scratch_surf()
2410 .mocs = iris_mocs(scratch_bo, &screen->isl_dev, 0), in iris_get_scratch_surf()
Diris_state.c5100 struct iris_bo *scratch_bo = in pin_scratch_space() local
5102 iris_use_pinned_bo(batch, scratch_bo, true, IRIS_DOMAIN_NONE); in pin_scratch_space()
5114 scratch_addr = scratch_bo->address; in pin_scratch_space()