/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_buffer_common.c | 53 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()
|
D | r600_pipe_common.c | 247 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()
|
D | radeon_uvd.c | 189 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()
|
D | r600_state.c | 1390 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()
|
D | radeon_vce.h | 45 #define RVCE_READWRITE(buf, domain, off) rvce_add_buffer(enc, (buf), RADEON_USAGE_READWRITE, (domai…
|
D | evergreen_state.c | 1735 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()
|
D | r600_hw_context.c | 462 RADEON_USAGE_READWRITE | in r600_emit_pfp_sync_me()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_screen_buffer.c | 113 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()
|
D | r300_query.c | 153 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()
|
D | r300_transfer.c | 115 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()
|
D | r300_emit.c | 1325 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/ |
D | si_buffer.c | 267 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()
|
D | si_gfx_cs.c | 207 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()
|
D | si_sqtt.c | 400 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()
|
D | gfx10_query.c | 82 !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()
|
D | si_descriptors.c | 696 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()
|
D | si_cp_reg_shadowing.c | 220 RADEON_USAGE_READWRITE | RADEON_PRIO_DESCRIPTORS); in si_init_cp_reg_shadowing()
|
D | radeon_vce.h | 44 si_vce_add_buffer(enc, (buf), RADEON_USAGE_READWRITE, (domain), (off))
|
D | radeon_uvd.c | 178 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()
|
D | radeon_vcn_enc.h | 141 radeon_enc_add_buffer(enc, (buf), RADEON_USAGE_READWRITE, (domain), (off))
|
D | si_compute.c | 552 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/ |
D | radeon_drm_cs.c | 803 RADEON_USAGE_READWRITE | RADEON_PRIO_FENCE_TRACE, RADEON_DOMAIN_GTT); in radeon_cs_create_fence() 812 RADEON_USAGE_READWRITE); in radeon_fence_wait()
|
D | radeon_drm_bo.c | 534 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/ |
D | radeon_winsys.h | 175 #define RADEON_USAGE_READWRITE (RADEON_USAGE_READ | RADEON_USAGE_WRITE) macro
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 316 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()
|