Home
last modified time | relevance | path

Searched refs:RADEON_USAGE_READWRITE (Results 1 – 25 of 37) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c53 unsigned rusage = RADEON_USAGE_READWRITE; in r600_buffer_map_sync_with_rings()
233 if (r600_rings_is_buffer_referenced(rctx, rbuffer->buf, RADEON_USAGE_READWRITE) || in r600_invalidate_buffer()
234 !rctx->ws->buffer_wait(rctx->ws, rbuffer->buf, 0, RADEON_USAGE_READWRITE)) { in r600_invalidate_buffer()
388 r600_rings_is_buffer_referenced(rctx, rbuffer->buf, RADEON_USAGE_READWRITE) || in r600_buffer_transfer_map()
389 !rctx->ws->buffer_wait(rctx->ws, rbuffer->buf, 0, RADEON_USAGE_READWRITE)) { in r600_buffer_transfer_map()
Dr600_pipe_common.c247 RADEON_USAGE_READWRITE)) || in r600_need_dma_space()
278 RADEON_USAGE_READWRITE)) || in r600_need_dma_space()
562 res->buf, RADEON_USAGE_READWRITE)) { in r600_resource_commit()
567 res->buf, RADEON_USAGE_READWRITE)) { in r600_resource_commit()
Dradeon_uvd.c189 dec->sessionctx.res->buf, 0, RADEON_USAGE_READWRITE, in send_msg_buf()
1004 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
1008 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
Dr600_state.c1390 RADEON_USAGE_READWRITE | in r600_emit_framebuffer_state()
1403 RADEON_USAGE_READWRITE | in r600_emit_framebuffer_state()
1416 RADEON_USAGE_READWRITE | in r600_emit_framebuffer_state()
1455 RADEON_USAGE_READWRITE | in r600_emit_framebuffer_state()
1562 RADEON_USAGE_READWRITE | RADEON_PRIO_SEPARATE_META); in r600_emit_db_state()
1975 RADEON_USAGE_READWRITE | in r600_emit_gs_rings()
1984 RADEON_USAGE_READWRITE | in r600_emit_gs_rings()
Dradeon_vce.h45 #define RVCE_READWRITE(buf, domain, off) rvce_add_buffer(enc, (buf), RADEON_USAGE_READWRITE, (domai…
Devergreen_state.c1735 RADEON_USAGE_READWRITE | in evergreen_emit_image_state()
1741 RADEON_USAGE_READWRITE | in evergreen_emit_image_state()
1865 RADEON_USAGE_READWRITE | in evergreen_emit_framebuffer_state()
1872 tex->cmask_buffer, RADEON_USAGE_READWRITE | RADEON_PRIO_SEPARATE_META); in evergreen_emit_framebuffer_state()
1923 RADEON_USAGE_READWRITE | in evergreen_emit_framebuffer_state()
2059 RADEON_USAGE_READWRITE | RADEON_PRIO_SEPARATE_META); in evergreen_emit_db_state()
2681 RADEON_USAGE_READWRITE | in evergreen_emit_gs_rings()
2691 RADEON_USAGE_READWRITE | in evergreen_emit_gs_rings()
4787 RADEON_USAGE_READWRITE | RADEON_PRIO_FENCE_TRACE); in eg_trace_emit()
5008 RADEON_USAGE_READWRITE | in evergreen_emit_atomic_buffer_save()
Dr600_hw_context.c462 RADEON_USAGE_READWRITE | in r600_emit_pfp_sync_me()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_screen_buffer.c113 if (r300->rws->cs_is_buffer_referenced(&r300->cs, rbuf->buf, RADEON_USAGE_READWRITE) || in r300_buffer_transfer_map()
114 !r300->rws->buffer_wait(r300->rws, rbuf->buf, 0, RADEON_USAGE_READWRITE)) { in r300_buffer_transfer_map()
Dr300_query.c153 RADEON_USAGE_READWRITE); in r300_get_query_result()
156 vresult->b = r300->rws->buffer_wait(r300->rws, q->buf, 0, RADEON_USAGE_READWRITE); in r300_get_query_result()
Dr300_transfer.c115 r300->rws->cs_is_buffer_referenced(&r300->cs, tex->buf, RADEON_USAGE_READWRITE); in r300_texture_transfer_map()
120 !r300->rws->buffer_wait(r300->rws, tex->buf, 0, RADEON_USAGE_READWRITE); in r300_texture_transfer_map()
Dr300_emit.c1325 RADEON_USAGE_READWRITE | RADEON_USAGE_SYNCHRONIZED | in r300_emit_buffer_validate()
1336 RADEON_USAGE_READWRITE | RADEON_USAGE_SYNCHRONIZED | in r300_emit_buffer_validate()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c267 if (si_cs_is_buffer_referenced(sctx, buf->buf, RADEON_USAGE_READWRITE) || in si_invalidate_buffer()
268 !sctx->ws->buffer_wait(sctx->ws, buf->buf, 0, RADEON_USAGE_READWRITE)) { in si_invalidate_buffer()
411 si_cs_is_buffer_referenced(sctx, buf->buf, RADEON_USAGE_READWRITE) || in si_buffer_transfer_map()
412 !sctx->ws->buffer_wait(sctx->ws, buf->buf, 0, RADEON_USAGE_READWRITE)) { in si_buffer_transfer_map()
745 ctx->ws->cs_is_buffer_referenced(&ctx->gfx_cs, res->buf, RADEON_USAGE_READWRITE)) { in si_resource_commit()
Dsi_gfx_cs.c207 RADEON_USAGE_READWRITE | RADEON_PRIO_FENCE_TRACE); in si_begin_gfx_cs_debug()
213 sctx->ws->cs_add_buffer(&sctx->gfx_cs, sctx->screen->gds, RADEON_USAGE_READWRITE, 0); in si_add_gds_to_buffer_list()
215 sctx->ws->cs_add_buffer(&sctx->gfx_cs, sctx->screen->gds_oa, RADEON_USAGE_READWRITE, 0); in si_add_gds_to_buffer_list()
405 RADEON_USAGE_READWRITE | RADEON_PRIO_SHADER_RINGS); in si_begin_new_gfx_cs()
413 RADEON_USAGE_READWRITE | RADEON_PRIO_DESCRIPTORS); in si_begin_new_gfx_cs()
431 RADEON_USAGE_READWRITE | RADEON_PRIO_SHADER_RINGS); in si_begin_new_gfx_cs()
Dsi_sqtt.c400 RADEON_USAGE_READWRITE, in si_thread_trace_start()
404 RADEON_USAGE_READWRITE, in si_thread_trace_start()
454 RADEON_USAGE_READWRITE, in si_thread_trace_stop()
459 RADEON_USAGE_READWRITE, in si_thread_trace_stop()
Dgfx10_query.c82 !si_cs_is_buffer_referenced(sctx, qbuf->buf->buf, RADEON_USAGE_READWRITE) && in gfx10_alloc_query_buffer()
83 sctx->ws->buffer_wait(sctx->ws, qbuf->buf->buf, 0, RADEON_USAGE_READWRITE)) { in gfx10_alloc_query_buffer()
Dsi_descriptors.c696 si_sampler_view_add_buffer(sctx, view->resource, RADEON_USAGE_READWRITE, false, false); in si_image_views_begin_new_cs()
884 (view->access & PIPE_IMAGE_ACCESS_WRITE) ? RADEON_USAGE_READWRITE : RADEON_USAGE_READ, false, in si_set_shader_image()
1122 (buffers->writable_mask & (1llu << i) ? RADEON_USAGE_READWRITE : RADEON_USAGE_READ) | in si_buffer_resources_begin_new_cs()
1400 sctx, buf, (writable ? RADEON_USAGE_READWRITE : RADEON_USAGE_READ) | priority, true); in si_set_shader_buffer()
1570 RADEON_USAGE_READWRITE | buffers->priority); in si_set_ring_buffer()
1676 (buffers->writable_mask & (1llu << i) ? RADEON_USAGE_READWRITE : RADEON_USAGE_READ) | in si_reset_buffer_resources()
1822 RADEON_USAGE_READWRITE | in si_rebind_buffer()
1874 … sctx, si_resource(buffer), RADEON_USAGE_READWRITE | RADEON_PRIO_SAMPLER_BUFFER, true); in si_rebind_buffer()
2657 (access & PIPE_IMAGE_ACCESS_WRITE) ? RADEON_USAGE_READWRITE : RADEON_USAGE_READ, false, in si_make_image_handle_resident()
2690 si_sampler_view_add_buffer(sctx, view->resource, RADEON_USAGE_READWRITE, false, false); in si_resident_buffers_add_all_to_bo_list()
Dsi_cp_reg_shadowing.c220 RADEON_USAGE_READWRITE | RADEON_PRIO_DESCRIPTORS); in si_init_cp_reg_shadowing()
Dradeon_vce.h44 si_vce_add_buffer(enc, (buf), RADEON_USAGE_READWRITE, (domain), (off))
Dradeon_uvd.c178 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in send_msg_buf()
1185 send_cmd(dec, RUVD_CMD_DPB_BUFFER, dec->dpb.res->buf, 0, RADEON_USAGE_READWRITE, in ruvd_end_frame()
1189 send_cmd(dec, RUVD_CMD_CONTEXT_BUFFER, dec->ctx.res->buf, 0, RADEON_USAGE_READWRITE, in ruvd_end_frame()
Dradeon_vcn_enc.h141 radeon_enc_add_buffer(enc, (buf), RADEON_USAGE_READWRITE, (domain), (off))
Dsi_compute.c552 RADEON_USAGE_READWRITE | RADEON_PRIO_SCRATCH_BUFFER); in si_switch_compute_shader()
1017 RADEON_USAGE_READWRITE | RADEON_PRIO_SHADER_RW_BUFFER); in si_launch_grid()
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c803 RADEON_USAGE_READWRITE | RADEON_PRIO_FENCE_TRACE, RADEON_DOMAIN_GTT); in radeon_cs_create_fence()
812 RADEON_USAGE_READWRITE); in radeon_fence_wait()
Dradeon_drm_bo.c534 RADEON_USAGE_READWRITE)) { in radeon_bo_map()
569 RADEON_USAGE_READWRITE); in radeon_bo_map()
745 return radeon_bo_wait(winsys, _buf, 0, RADEON_USAGE_READWRITE); in radeon_bo_can_reclaim()
/third_party/mesa3d/src/gallium/include/winsys/
Dradeon_winsys.h175 #define RADEON_USAGE_READWRITE (RADEON_USAGE_READ | RADEON_USAGE_WRITE) macro
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c316 RADEON_USAGE_READWRITE)) { in amdgpu_bo_map()
359 RADEON_USAGE_READWRITE); in amdgpu_bo_map()
629 return amdgpu_bo_wait(&ws->dummy_ws.base, _buf, 0, RADEON_USAGE_READWRITE); in amdgpu_bo_can_reclaim()

12