Home
last modified time | relevance | path

Searched refs:RADEON_DOMAIN_VRAM (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_winsys.h61 RADEON_DOMAIN_VRAM = 4, enumerator
62 RADEON_DOMAIN_VRAM_GTT = RADEON_DOMAIN_VRAM | RADEON_DOMAIN_GTT,
757 return RADEON_DOMAIN_VRAM; in radeon_domain_from_heap()
841 assert(!(domain & RADEON_DOMAIN_VRAM) || flags & RADEON_FLAG_GTT_WC); in radeon_get_heap_index()
843 assert(!(flags & RADEON_FLAG_NO_CPU_ACCESS) || domain == RADEON_DOMAIN_VRAM); in radeon_get_heap_index()
856 case RADEON_DOMAIN_VRAM: in radeon_get_heap_index()
Dradeon_vce_50.c120 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
122 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
Dradeon_vce_40_2_2.c310 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
312 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
Dradeon_vcn_dec_jpeg.c297 send_cmd_target_direct(dec, dt, 0, RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM); in send_cmd_jpeg()
300 send_cmd_target(dec, dt, 0, RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM); in send_cmd_jpeg()
Dradeon_vce_52.c267 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
269 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
275 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
277 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
Dradeon_uvd_enc_1_1.c901 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->luma->u.legacy.level[0].offset); in radeon_uvd_enc_encode_params_hevc()
902 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->chroma->u.legacy.level[0].offset); in radeon_uvd_enc_encode_params_hevc()
904 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->luma->u.gfx9.surf_offset); in radeon_uvd_enc_encode_params_hevc()
905 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->chroma->u.gfx9.surf_offset); in radeon_uvd_enc_encode_params_hevc()
Dradeon_vcn_enc_1_2.c995 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->luma->u.gfx9.surf_offset); in radeon_enc_encode_params()
996 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->chroma->u.gfx9.surf_offset); in radeon_enc_encode_params()
1040 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->luma->u.gfx9.surf_offset); in radeon_enc_encode_params_hevc()
1041 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->chroma->u.gfx9.surf_offset); in radeon_enc_encode_params_hevc()
Dradeon_uvd.c178 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in send_msg_buf()
1186 RADEON_DOMAIN_VRAM); in ruvd_end_frame()
1190 RADEON_DOMAIN_VRAM); in ruvd_end_frame()
1193 send_cmd(dec, RUVD_CMD_DECODING_TARGET_BUFFER, dt, 0, RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
Dradeon_vcn_dec.c1226 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in send_msg_buf()
1551 RADEON_DOMAIN_VRAM); in send_cmd_dec()
1554 RADEON_DOMAIN_VRAM); in send_cmd_dec()
1557 send_cmd(dec, RDECODE_CMD_DECODING_TARGET_BUFFER, dt, 0, RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM); in send_cmd_dec()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c311 if (bo->initial_domain & RADEON_DOMAIN_VRAM) { in radv_amdgpu_winsys_bo_destroy()
401 if (initial_domain & RADEON_DOMAIN_VRAM) { in radv_amdgpu_winsys_bo_create()
424 bo->base.vram_no_cpu_access = initial_domain & RADEON_DOMAIN_VRAM; in radv_amdgpu_winsys_bo_create()
439 if (initial_domain & RADEON_DOMAIN_VRAM) { in radv_amdgpu_winsys_bo_create()
466 if (initial_domain & RADEON_DOMAIN_VRAM) { in radv_amdgpu_winsys_bo_create()
651 initial |= RADEON_DOMAIN_VRAM; in radv_amdgpu_winsys_bo_from_fd()
668 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radv_amdgpu_winsys_bo_from_fd()
729 *domains |= RADEON_DOMAIN_VRAM; in radv_amdgpu_bo_get_flags_from_fd()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture.c1098 base->nr_samples > 1 ? RADEON_DOMAIN_VRAM : in r300_texture_create_object()
1099 RADEON_DOMAIN_VRAM | RADEON_DOMAIN_GTT; in r300_texture_create_object()
1105 if (tex->domain & RADEON_DOMAIN_VRAM && in r300_texture_create_object()
1107 tex->domain &= ~RADEON_DOMAIN_VRAM; in r300_texture_create_object()
1123 tex->domain & RADEON_DOMAIN_VRAM ? RADEON_DOMAIN_VRAM : in r300_texture_create_object()
1253 if (surface->domain & RADEON_DOMAIN_VRAM) in r300_create_surface_custom()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c140 res->domains = RADEON_DOMAIN_VRAM; in r600_init_resource_fields()
163 res->domains = RADEON_DOMAIN_VRAM; in r600_init_resource_fields()
181 if (res->domains & RADEON_DOMAIN_VRAM) in r600_init_resource_fields()
438 (rbuffer->domains & RADEON_DOMAIN_VRAM || in r600_buffer_transfer_map()
Dradeon_uvd.c190 RADEON_DOMAIN_VRAM); 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()
1012 RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
Dradeon_video.c203 pb = ws->buffer_create(ws, size, alignment, RADEON_DOMAIN_VRAM, in rvid_join_surfaces()
Dr600_texture.c986 if (resource->domains & RADEON_DOMAIN_VRAM) in r600_texture_create_object()
1341 rtex->resource.domains & RADEON_DOMAIN_VRAM || in r600_texture_transfer_map()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c135 res->domains = RADEON_DOMAIN_VRAM; in si_init_resource_fields()
159 res->domains = RADEON_DOMAIN_VRAM; in si_init_resource_fields()
204 if (res->domains & RADEON_DOMAIN_VRAM) { in si_init_resource_fields()
482 (buf->domains & RADEON_DOMAIN_VRAM || buf->flags & RADEON_FLAG_GTT_WC)) || in si_buffer_transfer_map()
752 if (res->domains & RADEON_DOMAIN_VRAM) in si_buffer_from_winsys_buffer()
Dsi_compute_blit.c339 si_resource(dst)->domains & RADEON_DOMAIN_VRAM) { in si_clear_buffer()
397 si_resource(dst)->domains & RADEON_DOMAIN_VRAM && in si_copy_buffer()
398 si_resource(src)->domains & RADEON_DOMAIN_VRAM) { in si_copy_buffer()
413 if (sctx->screen->info.has_dedicated_vram && si_resource(dst)->domains & RADEON_DOMAIN_VRAM && in si_copy_buffer()
414 si_resource(src)->domains & RADEON_DOMAIN_VRAM && size > compute_min_size && in si_copy_buffer()
/external/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h48 RADEON_DOMAIN_VRAM = 4, enumerator
49 RADEON_DOMAIN_VRAM_GTT = RADEON_DOMAIN_VRAM | RADEON_DOMAIN_GTT,
Dradv_debug.c67 RADEON_DOMAIN_VRAM, in radv_init_trace()
747 RADEON_DOMAIN_VRAM, in radv_trap_handler_init()
Dradv_sqtt.c512 RADEON_DOMAIN_VRAM, in radv_thread_trace_init_bo()
Dradv_device.c212 device->memory_domains[type_count] = RADEON_DOMAIN_VRAM; in radv_physical_device_init_mem_types()
230 device->memory_domains[type_count] = RADEON_DOMAIN_VRAM; in radv_physical_device_init_mem_types()
2616 RADEON_DOMAIN_VRAM, in radv_device_init_border_color()
3676 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
3690 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
3703 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
3717 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
3731 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
3789 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
7618 const enum radeon_bo_domain relevant_domains = RADEON_DOMAIN_VRAM | in radv_compute_valid_memory_types_attempt()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c406 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_bo_destroy()
412 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_bo_destroy()
489 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_bo_do_map()
606 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_bo_unmap()
732 if (initial_domains & RADEON_DOMAIN_VRAM) in radeon_create_bo()
1020 if (domain & RADEON_DOMAIN_VRAM) in radeon_winsys_bo_create()
1023 if (domain != RADEON_DOMAIN_VRAM) in radeon_winsys_bo_create()
1311 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_winsys_bo_from_handle()
Dradeon_drm_cs.c389 if (added_domains & RADEON_DOMAIN_VRAM) in radeon_drm_cs_add_buffer()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c216 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_destroy()
261 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_do_map()
417 if (real->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_unmap()
495 if (initial_domain & RADEON_DOMAIN_VRAM) { in amdgpu_create_bo()
585 if (initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_create_bo()
1293 assert(!(domain & RADEON_DOMAIN_VRAM) || flags & RADEON_FLAG_GTT_WC); in amdgpu_bo_create()
1466 initial |= RADEON_DOMAIN_VRAM; in amdgpu_bo_from_handle()
1496 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_from_handle()
Damdgpu_cs.c508 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_lookup_or_add_real_buffer()
611 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_lookup_or_add_sparse_buffer()
1048 RADEON_DOMAIN_VRAM, in amdgpu_cs_setup_preemption()

12