Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_query.c133 struct fd_bo *scratch_bo = fd4_context(batch->ctx)->vsc_size_mem; in time_elapsed_get_sample() local
171 OUT_RELOCW(ring, scratch_bo, sample_off, 0, 0); in time_elapsed_get_sample()
185 OUT_RELOCW(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
193 OUT_RELOCW(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
198 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample()
205 OUT_RELOC(ring, scratch_bo, sample_off, 0, 0); in time_elapsed_get_sample()
210 OUT_RELOC(ring, scratch_bo, sample_off + 0x4, 0, 0); in time_elapsed_get_sample()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_builder_3d_top.h481 struct intel_bo *scratch_bo) in gen6_3DSTATE_VS() argument
500 ilo_builder_batch_reloc(builder, pos + 3, scratch_bo, in gen6_3DSTATE_VS()
509 struct intel_bo *scratch_bo) in gen8_3DSTATE_VS() argument
531 ilo_builder_batch_reloc64(builder, pos + 4, scratch_bo, in gen8_3DSTATE_VS()
540 struct intel_bo *scratch_bo) in gen7_3DSTATE_HS() argument
560 ilo_builder_batch_reloc(builder, pos + 4, scratch_bo, in gen7_3DSTATE_HS()
569 struct intel_bo *scratch_bo) in gen8_3DSTATE_HS() argument
591 ilo_builder_batch_reloc64(builder, pos + 5, scratch_bo, in gen8_3DSTATE_HS()
618 struct intel_bo *scratch_bo) in gen7_3DSTATE_DS() argument
637 ilo_builder_batch_reloc(builder, pos + 3, scratch_bo, in gen7_3DSTATE_DS()
[all …]
Dilo_builder_3d_bottom.h206 struct intel_bo *scratch_bo) in gen6_3DSTATE_WM() argument
228 ilo_builder_batch_reloc(builder, pos + 2, scratch_bo, in gen6_3DSTATE_WM()
340 struct intel_bo *scratch_bo) in gen7_3DSTATE_PS() argument
361 ilo_builder_batch_reloc(builder, pos + 3, scratch_bo, in gen7_3DSTATE_PS()
370 struct intel_bo *scratch_bo) in gen8_3DSTATE_PS() argument
395 ilo_builder_batch_reloc64(builder, pos + 4, scratch_bo, in gen8_3DSTATE_PS()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c369 drm_intel_bo **scratch_bo, int size) in brw_get_scratch_bo() argument
371 drm_intel_bo *old_bo = *scratch_bo; in brw_get_scratch_bo()
379 *scratch_bo = drm_intel_bo_alloc(brw->bufmgr, "scratch bo", size, 4096); in brw_get_scratch_bo()
396 if (stage_state->scratch_bo) in brw_alloc_stage_scratch()
397 drm_intel_bo_unreference(stage_state->scratch_bo); in brw_alloc_stage_scratch()
399 stage_state->scratch_bo = in brw_alloc_stage_scratch()
Dgen7_cs_state.c72 OUT_RELOC64(stage_state->scratch_bo, in brw_upload_cs_state()
79 OUT_RELOC(stage_state->scratch_bo, in brw_upload_cs_state()
86 OUT_RELOC(stage_state->scratch_bo, in brw_upload_cs_state()
Dbrw_vs_state.c87 stage_state->scratch_bo->offset64 >> 10; /* reloc */ in brw_upload_vs_unit()
177 stage_state->scratch_bo, in brw_upload_vs_unit()
Dbrw_context.c1178 if (brw->vs.base.scratch_bo) in intelDestroyContext()
1179 drm_intel_bo_unreference(brw->vs.base.scratch_bo); in intelDestroyContext()
1180 if (brw->tcs.base.scratch_bo) in intelDestroyContext()
1181 drm_intel_bo_unreference(brw->tcs.base.scratch_bo); in intelDestroyContext()
1182 if (brw->tes.base.scratch_bo) in intelDestroyContext()
1183 drm_intel_bo_unreference(brw->tes.base.scratch_bo); in intelDestroyContext()
1184 if (brw->gs.base.scratch_bo) in intelDestroyContext()
1185 drm_intel_bo_unreference(brw->gs.base.scratch_bo); in intelDestroyContext()
1186 if (brw->wm.base.scratch_bo) in intelDestroyContext()
1187 drm_intel_bo_unreference(brw->wm.base.scratch_bo); in intelDestroyContext()
Dbrw_wm_state.c137 brw->wm.base.scratch_bo->offset64 >> 10; /* reloc */ in brw_upload_wm_unit()
229 brw->wm.base.scratch_bo, in brw_upload_wm_unit()
Dgen7_vs_state.c60 OUT_RELOC(stage_state->scratch_bo, in upload_vs_state()
Dgen8_vs_state.c61 OUT_RELOC64(stage_state->scratch_bo, in upload_vs_state()
Dgen8_hs_state.c56 OUT_RELOC64(stage_state->scratch_bo, in gen8_upload_hs_state()
Dgen8_ds_state.c55 OUT_RELOC64(stage_state->scratch_bo, in gen8_upload_ds_state()
Dgen7_hs_state.c89 OUT_RELOC(stage_state->scratch_bo, in gen7_upload_hs_state()
Dgen7_ds_state.c87 OUT_RELOC(stage_state->scratch_bo, in gen7_upload_ds_state()
Dgen7_gs_state.c70 OUT_RELOC(stage_state->scratch_bo, in upload_gs_state()
Dgen8_gs_state.c62 OUT_RELOC64(stage_state->scratch_bo, in gen8_upload_gs_state()
Dgen6_vs_state.c132 OUT_RELOC(stage_state->scratch_bo, in upload_vs_state()
Dgen6_gs_state.c147 OUT_RELOC(stage_state->scratch_bo, in upload_gs_state()
Dgen8_ps_state.c268 OUT_RELOC64(stage_state->scratch_bo, in gen8_upload_ps_state()
Dgen6_wm_state.c224 OUT_RELOC(stage_state->scratch_bo, in gen6_upload_wm_state()
Dgen7_wm_state.c239 OUT_RELOC(brw->wm.base.scratch_bo, in gen7_upload_ps_state()
Dbrw_context.h613 drm_intel_bo *scratch_bo; member
1345 drm_intel_bo **scratch_bo, int size);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c299 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer()
307 r600_resource_reference(&shader->scratch_bo, in si_setup_compute_scratch_buffer()
363 if (shader->scratch_bo) { in si_switch_compute_shader()
371 shader->scratch_bo, RADEON_USAGE_READWRITE, in si_switch_compute_shader()
Dsi_shader.h512 struct r600_resource *scratch_bo; member
Dsi_state_shaders.c2087 if (shader->scratch_bo == sctx->scratch_buffer) in si_update_scratch_buffer()
2102 r600_resource_reference(&shader->scratch_bo, sctx->scratch_buffer); in si_update_scratch_buffer()

12