Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_winsys.h45 RADEON_DOMAIN_VRAM = 4, enumerator
46 RADEON_DOMAIN_VRAM_GTT = RADEON_DOMAIN_VRAM | RADEON_DOMAIN_GTT
677 return RADEON_DOMAIN_VRAM; in radeon_domain_from_heap()
742 assert(!(domain & RADEON_DOMAIN_VRAM) || flags & RADEON_FLAG_GTT_WC); in radeon_get_heap_index()
744 assert(!(flags & RADEON_FLAG_NO_CPU_ACCESS) || domain == RADEON_DOMAIN_VRAM); in radeon_get_heap_index()
758 case RADEON_DOMAIN_VRAM: in radeon_get_heap_index()
Dradeon_vce_50.c123 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
125 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
Dr600_buffer_common.c139 res->domains = RADEON_DOMAIN_VRAM; in si_init_resource_fields()
163 res->domains = RADEON_DOMAIN_VRAM; in si_init_resource_fields()
186 if (res->domains & RADEON_DOMAIN_VRAM) { in si_init_resource_fields()
455 (rbuffer->domains & RADEON_DOMAIN_VRAM || in r600_buffer_transfer_map()
Dradeon_vce_40_2_2.c316 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
318 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
Dradeon_vce_52.c254 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
256 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
262 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
264 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
Dradeon_video.c201 pb = ws->buffer_create(ws, size, alignment, RADEON_DOMAIN_VRAM, in si_vid_join_surfaces()
Dradeon_vcn_dec.c851 RADEON_DOMAIN_VRAM); in send_msg_buf()
1169 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in radeon_dec_end_frame()
1172 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in radeon_dec_end_frame()
1176 RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM); in radeon_dec_end_frame()
Dradeon_uvd.c185 RADEON_DOMAIN_VRAM); in send_msg_buf()
1332 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
1336 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
1340 RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
Dradeon_vcn_enc_1_2.c723 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->luma->u.gfx9.surf_offset); in radeon_enc_encode_params()
724 RADEON_ENC_READ(enc->handle, RADEON_DOMAIN_VRAM, enc->chroma->u.gfx9.surf_offset); in radeon_enc_encode_params()
Dr600_texture.c1306 if (resource->domains & RADEON_DOMAIN_VRAM) in r600_texture_create_object()
1687 rtex->resource.domains & RADEON_DOMAIN_VRAM || in r600_texture_transfer_map()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c183 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_destroy()
189 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_destroy()
322 if (real->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_map()
344 if (real->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_unmap()
402 if (initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_create_bo()
467 if (initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_create_bo()
1168 assert(!(domain & RADEON_DOMAIN_VRAM) || flags & RADEON_FLAG_GTT_WC); in amdgpu_bo_create()
1171 assert(domain == RADEON_DOMAIN_VRAM || !(flags & RADEON_FLAG_NO_CPU_ACCESS)); in amdgpu_bo_create()
1307 initial |= RADEON_DOMAIN_VRAM; in amdgpu_bo_from_handle()
1329 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_bo_from_handle()
Damdgpu_cs.c467 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_lookup_or_add_real_buffer()
570 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in amdgpu_lookup_or_add_sparse_buffer()
/external/mesa3d/src/amd/vulkan/
Dradv_radeon_winsys.h46 RADEON_DOMAIN_VRAM = 4, enumerator
47 RADEON_DOMAIN_VRAM_GTT = RADEON_DOMAIN_VRAM | RADEON_DOMAIN_GTT
Dradv_device.c1551 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
1562 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
1574 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
1587 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
1600 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
1607 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
1634 RADEON_DOMAIN_VRAM, in radv_get_preamble_cs()
2296 domain = RADEON_DOMAIN_VRAM; in radv_alloc_memory()
Dradv_debug.c63 RADEON_DOMAIN_VRAM, in radv_init_trace()
Dradv_shader.c340 RADEON_DOMAIN_VRAM, in radv_alloc_shader_memory()
Dradv_descriptor_set.c456 RADEON_DOMAIN_VRAM, in radv_CreateDescriptorPool()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c380 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_bo_destroy()
386 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_bo_destroy()
463 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_bo_do_map()
576 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_bo_unmap()
693 if (initial_domains & RADEON_DOMAIN_VRAM) in radeon_create_bo()
933 if (domain & RADEON_DOMAIN_VRAM) in radeon_winsys_bo_create()
936 if (domain != RADEON_DOMAIN_VRAM) in radeon_winsys_bo_create()
1242 if (bo->initial_domain & RADEON_DOMAIN_VRAM) in radeon_winsys_bo_from_handle()
Dradeon_drm_cs.c371 if (added_domains & RADEON_DOMAIN_VRAM) in radeon_drm_cs_add_buffer()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c141 res->domains = RADEON_DOMAIN_VRAM; in r600_init_resource_fields()
165 res->domains = RADEON_DOMAIN_VRAM; in r600_init_resource_fields()
189 if (res->domains & RADEON_DOMAIN_VRAM) in r600_init_resource_fields()
446 (rbuffer->domains & RADEON_DOMAIN_VRAM || in r600_buffer_transfer_map()
Dradeon_video.c201 pb = ws->buffer_create(ws, size, alignment, RADEON_DOMAIN_VRAM, in rvid_join_surfaces()
Dradeon_uvd.c189 RADEON_DOMAIN_VRAM); in send_msg_buf()
1246 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
1250 RADEON_USAGE_READWRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
1254 RADEON_USAGE_WRITE, RADEON_DOMAIN_VRAM); in ruvd_end_frame()
Dr600_texture.c970 if (resource->domains & RADEON_DOMAIN_VRAM) in r600_texture_create_object()
1327 rtex->resource.domains & RADEON_DOMAIN_VRAM || in r600_texture_transfer_map()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_texture.c1093 base->nr_samples > 1 ? RADEON_DOMAIN_VRAM : in r300_texture_create_object()
1094 RADEON_DOMAIN_VRAM | RADEON_DOMAIN_GTT; in r300_texture_create_object()
1100 if (tex->domain & RADEON_DOMAIN_VRAM && in r300_texture_create_object()
1102 tex->domain &= ~RADEON_DOMAIN_VRAM; in r300_texture_create_object()
1241 if (surface->domain & RADEON_DOMAIN_VRAM) in r300_create_surface_custom()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c335 if (initial_domain & RADEON_DOMAIN_VRAM) in radv_amdgpu_winsys_bo_create()
354 if (ws->zero_all_vram_allocs && (initial_domain & RADEON_DOMAIN_VRAM)) in radv_amdgpu_winsys_bo_create()
442 initial |= RADEON_DOMAIN_VRAM; in radv_amdgpu_winsys_bo_from_fd()