/external/igt-gpu-tools/tests/i915/ |
D | gem_caching.c | 54 drm_intel_bo *scratch_bo; variable 132 scratch_bo = drm_intel_bo_alloc(bufmgr, "scratch bo", BO_SIZE, 4096); 133 gem_set_caching(fd, scratch_bo->handle, 1); 147 blt_bo_fill(staging_bo, scratch_bo, i); 152 drm_intel_bo_map(scratch_bo, false); 153 cpu_ptr = scratch_bo->virtual; 159 drm_intel_bo_unmap(scratch_bo); 174 blt_bo_fill(staging_bo, scratch_bo, val0); 180 drm_intel_bo_map(scratch_bo, true); 181 cpu_ptr = scratch_bo->virtual; [all …]
|
D | gem_tiled_partial_pwrite_pread.c | 58 drm_intel_bo *scratch_bo; variable 132 blt_bo_fill(staging_bo, scratch_bo, i); in test_partial_reads() 137 drm_intel_bo_get_subdata(scratch_bo, start, len, tmp); in test_partial_reads() 156 blt_bo_fill(staging_bo, scratch_bo, i); in test_partial_writes() 163 drm_intel_bo_subdata(scratch_bo, start, len, tmp); in test_partial_writes() 165 copy_bo(scratch_bo, 1, tiled_staging_bo, 1); in test_partial_writes() 198 blt_bo_fill(staging_bo, scratch_bo, i); in test_partial_read_writes() 204 drm_intel_bo_get_subdata(scratch_bo, start, len, tmp); in test_partial_read_writes() 214 blt_bo_fill(staging_bo, scratch_bo, val); in test_partial_read_writes() 222 drm_intel_bo_subdata(scratch_bo, start, len, tmp); in test_partial_read_writes() [all …]
|
D | gem_partial_pwrite_pread.c | 55 drm_intel_bo *scratch_bo; variable 117 blt_bo_fill(staging_bo, scratch_bo, val); in test_partial_reads() 120 do_or_die(drm_intel_bo_get_subdata(scratch_bo, start, len, tmp)); in test_partial_reads() 141 blt_bo_fill(staging_bo, scratch_bo, val); in test_partial_writes() 146 drm_intel_bo_subdata(scratch_bo, start, len, tmp); in test_partial_writes() 148 copy_bo(scratch_bo, staging_bo); in test_partial_writes() 183 blt_bo_fill(staging_bo, scratch_bo, val); in test_partial_read_writes() 187 drm_intel_bo_get_subdata(scratch_bo, start, len, tmp); in test_partial_read_writes() 197 blt_bo_fill(staging_bo, scratch_bo, val); in test_partial_read_writes() 203 drm_intel_bo_subdata(scratch_bo, start, len, tmp); in test_partial_read_writes() [all …]
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_query.c | 132 struct fd_bo *scratch_bo = fd4_context(batch->ctx)->vsc_size_mem; in time_elapsed_get_sample() local 170 OUT_RELOC(ring, scratch_bo, sample_off, 0, 0); in time_elapsed_get_sample() 184 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample() 192 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample() 197 OUT_RELOC(ring, scratch_bo, addr_off, 0, 0); in time_elapsed_get_sample() 204 OUT_RELOC(ring, scratch_bo, sample_off, 0, 0); in time_elapsed_get_sample() 209 OUT_RELOC(ring, scratch_bo, sample_off + 0x4, 0, 0); in time_elapsed_get_sample()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_program.c | 406 struct brw_bo **scratch_bo, int size) in brw_get_scratch_bo() argument 408 struct brw_bo *old_bo = *scratch_bo; in brw_get_scratch_bo() 416 *scratch_bo = in brw_get_scratch_bo() 435 if (stage_state->scratch_bo) in brw_alloc_stage_scratch() 436 brw_bo_unreference(stage_state->scratch_bo); in brw_alloc_stage_scratch() 527 stage_state->scratch_bo = in brw_alloc_stage_scratch()
|
D | brw_context.c | 1216 brw_bo_unreference(brw->vs.base.scratch_bo); in intelDestroyContext() 1217 brw_bo_unreference(brw->tcs.base.scratch_bo); in intelDestroyContext() 1218 brw_bo_unreference(brw->tes.base.scratch_bo); in intelDestroyContext() 1219 brw_bo_unreference(brw->gs.base.scratch_bo); in intelDestroyContext() 1220 brw_bo_unreference(brw->wm.base.scratch_bo); in intelDestroyContext()
|
D | brw_context.h | 632 struct brw_bo *scratch_bo; member 1369 struct brw_bo **scratch_bo, int size);
|
D | genX_state_upload.c | 1969 wm.ScratchSpaceBasePointer = rw_32_bo(stage_state->scratch_bo, 0); 2108 pkt.ScratchSpaceBasePointer = rw_32_bo(stage_state->scratch_bo, 0); \ 3990 rw_32_bo(stage_state->scratch_bo, 4320 vfe.ScratchSpaceBasePointer = rw_32_bo(stage_state->scratch_bo, 0);
|
/external/mesa3d/docs/relnotes/ |
D | 10.2.9.rst | 58 - radeonsi: properly destroy the GS copy shader and scratch_bo for
|
D | 10.3.1.rst | 95 - radeonsi: properly destroy the GS copy shader and scratch_bo for
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_device.c | 2411 if (queue->scratch_bo) in radv_queue_finish() 2412 queue->device->ws->buffer_destroy(queue->scratch_bo); in radv_queue_finish() 3429 struct radeon_winsys_bo *scratch_bo) in radv_emit_graphics_scratch() argument 3434 if (!scratch_bo) in radv_emit_graphics_scratch() 3437 radv_cs_add_buffer(queue->device->ws, cs, scratch_bo); in radv_emit_graphics_scratch() 3602 struct radeon_winsys_bo *scratch_bo = NULL; in radv_get_preamble_cs() local 3673 scratch_bo = queue->device->ws->buffer_create(queue->device->ws, in radv_get_preamble_cs() 3679 if (!scratch_bo) in radv_get_preamble_cs() 3682 scratch_bo = queue->scratch_bo; in radv_get_preamble_cs() 3771 if (scratch_bo != queue->scratch_bo || in radv_get_preamble_cs() [all …]
|
D | radv_private.h | 718 struct radeon_winsys_bo *scratch_bo; member
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_compute.c | 431 if (sctx->compute_scratch_buffer != shader->scratch_bo && scratch_needed) { in si_setup_compute_scratch_buffer() 437 si_resource_reference(&shader->scratch_bo, sctx->compute_scratch_buffer); in si_setup_compute_scratch_buffer() 487 if (shader->scratch_bo) { in si_switch_compute_shader() 494 radeon_add_to_buffer_list(sctx, sctx->gfx_cs, shader->scratch_bo, RADEON_USAGE_READWRITE, in si_switch_compute_shader()
|
D | si_shader.h | 728 struct si_resource *scratch_bo; member
|
D | si_shader.c | 2594 if (shader->scratch_bo) in si_shader_destroy() 2595 si_resource_reference(&shader->scratch_bo, NULL); in si_shader_destroy()
|
D | si_state_shaders.c | 3583 if (shader->scratch_bo == sctx->scratch_buffer) { in si_update_scratch_buffer() 3599 si_resource_reference(&shader->scratch_bo, sctx->scratch_buffer); in si_update_scratch_buffer()
|