Home
last modified time | relevance | path

Searched refs:AMDGPU_GEM_DOMAIN_VRAM (Results 1 – 17 of 17) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Dcp_dma_tests.c405 amdgpu_cp_dma(AMDGPU_GEM_DOMAIN_GTT, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cp_dma_host_to_vram()
409 amdgpu_cp_dma(AMDGPU_GEM_DOMAIN_VRAM, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cp_dma_vram_to_host()
413 amdgpu_cp_dma_p2p(AMDGPU_GEM_DOMAIN_VRAM, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cp_dma_p2p_vram_to_vram()
417 amdgpu_cp_dma_p2p(AMDGPU_GEM_DOMAIN_GTT, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cp_dma_p2p_host_to_vram()
421 amdgpu_cp_dma_p2p(AMDGPU_GEM_DOMAIN_VRAM, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cp_dma_p2p_vram_to_host()
Dbo_tests.c210 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_memory_alloc()
220 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_memory_alloc()
277 req.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_fail_alloc()
Dsecurity_tests.c296 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_secure_bounce()
317 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_secure_bounce()
376 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_security_alloc_buf_test()
Duvd_enc_tests.c339 alloc_resource(&enc.fb, 4096, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
341 alloc_resource(&enc.bs, bs_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
343 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
345 alloc_resource(&enc.cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_uvd_enc_encode()
Dbasic_tests.c1064 r = amdgpu_query_heap_info(device_handle, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_bo_eviction_test()
1069 AMDGPU_GEM_DOMAIN_VRAM, 0, &vram_max[0]); in amdgpu_bo_eviction_test()
1072 AMDGPU_GEM_DOMAIN_VRAM, 0, &vram_max[1]); in amdgpu_bo_eviction_test()
2668 AMDGPU_GEM_DOMAIN_VRAM, 0, in amdgpu_memset_dispatch_test()
2678 AMDGPU_GEM_DOMAIN_VRAM, 0, in amdgpu_memset_dispatch_test()
2817 AMDGPU_GEM_DOMAIN_VRAM, 0, in amdgpu_memcpy_dispatch_test()
2828 AMDGPU_GEM_DOMAIN_VRAM, 0, in amdgpu_memcpy_dispatch_test()
2834 AMDGPU_GEM_DOMAIN_VRAM, 0, in amdgpu_memcpy_dispatch_test()
3057 AMDGPU_GEM_DOMAIN_VRAM, 0, in amdgpu_memcpy_dispatch_hang_slow_test()
3067 AMDGPU_GEM_DOMAIN_VRAM, 0, in amdgpu_memcpy_dispatch_hang_slow_test()
[all …]
Dvce_tests.c504 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode()
506 alloc_resource(&enc.cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode()
684 alloc_resource(&enc.vbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode_mv()
686 alloc_resource(&enc.mvrefbuf, vbuf_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode_mv()
688 alloc_resource(&enc.cpb, cpb_size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_vce_encode_mv()
Damdgpu_stress.c366 domain = AMDGPU_GEM_DOMAIN_VRAM; in main()
370 domain = AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT; in main()
Dvm_tests.c200 request.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_vm_unaligned_map()
Djpeg_tests.c541 alloc_resource(&dec_buf, size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_jpeg_decode()
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_winsys.c99 amdgpu_query_heap_info(ws->dev, AMDGPU_GEM_DOMAIN_VRAM, 0, &heap); in radv_amdgpu_winsys_query_value()
102 amdgpu_query_heap_info(ws->dev, AMDGPU_GEM_DOMAIN_VRAM, AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED, in radv_amdgpu_winsys_query_value()
Dradv_amdgpu_bo.c452 request.preferred_heap |= AMDGPU_GEM_DOMAIN_VRAM; in radv_amdgpu_winsys_bo_create()
730 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in radv_amdgpu_winsys_bo_from_fd()
804 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in radv_amdgpu_bo_get_flags_from_fd()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c265 amdgpu_query_heap_info(ws->dev, AMDGPU_GEM_DOMAIN_VRAM, 0, &heap); in amdgpu_query_value()
268 amdgpu_query_heap_info(ws->dev, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_query_value()
Damdgpu_bo.c508 request.preferred_heap |= AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_create_bo()
536 (request.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_create_bo()
1533 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_from_handle()
/third_party/libdrm/include/drm/
Damdgpu_drm.h100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
106 AMDGPU_GEM_DOMAIN_VRAM | \
/third_party/mesa3d/include/drm-uapi/
Damdgpu_drm.h100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
106 AMDGPU_GEM_DOMAIN_VRAM | \
/third_party/libdrm/amdgpu/
Damdgpu_gpu_info.c258 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_query_heap_info()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c52 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
427 request.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in has_tmz_support()