/external/mesa3d/src/gallium/drivers/radeon/ |
D | radeon_winsys.h | 61 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()
|
D | radeon_vce_50.c | 120 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode() 122 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
|
D | radeon_vce_40_2_2.c | 310 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode() 312 RVCE_READ(enc->handle, RADEON_DOMAIN_VRAM, in encode()
|
D | radeon_vcn_dec_jpeg.c | 297 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()
|
D | radeon_vce_52.c | 267 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()
|
D | radeon_uvd_enc_1_1.c | 901 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()
|
D | radeon_vcn_enc_1_2.c | 995 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()
|
D | radeon_uvd.c | 178 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()
|
D | radeon_vcn_dec.c | 1226 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/ |
D | radv_amdgpu_bo.c | 311 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/ |
D | r300_texture.c | 1098 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/ |
D | r600_buffer_common.c | 140 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()
|
D | radeon_uvd.c | 190 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()
|
D | radeon_video.c | 203 pb = ws->buffer_create(ws, size, alignment, RADEON_DOMAIN_VRAM, in rvid_join_surfaces()
|
D | r600_texture.c | 986 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/ |
D | si_buffer.c | 135 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()
|
D | si_compute_blit.c | 339 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/ |
D | radv_radeon_winsys.h | 48 RADEON_DOMAIN_VRAM = 4, enumerator 49 RADEON_DOMAIN_VRAM_GTT = RADEON_DOMAIN_VRAM | RADEON_DOMAIN_GTT,
|
D | radv_debug.c | 67 RADEON_DOMAIN_VRAM, in radv_init_trace() 747 RADEON_DOMAIN_VRAM, in radv_trap_handler_init()
|
D | radv_sqtt.c | 512 RADEON_DOMAIN_VRAM, in radv_thread_trace_init_bo()
|
D | radv_device.c | 212 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/ |
D | radeon_drm_bo.c | 406 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()
|
D | radeon_drm_cs.c | 389 if (added_domains & RADEON_DOMAIN_VRAM) in radeon_drm_cs_add_buffer()
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 216 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()
|
D | amdgpu_cs.c | 508 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()
|