/third_party/libdrm/tests/amdgpu/ |
D | cp_dma_tests.c | 405 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()
|
D | bo_tests.c | 210 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()
|
D | security_tests.c | 296 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()
|
D | uvd_enc_tests.c | 339 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()
|
D | basic_tests.c | 1064 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 …]
|
D | vce_tests.c | 504 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()
|
D | amdgpu_stress.c | 366 domain = AMDGPU_GEM_DOMAIN_VRAM; in main() 370 domain = AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT; in main()
|
D | vm_tests.c | 200 request.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_vm_unaligned_map()
|
D | jpeg_tests.c | 541 alloc_resource(&dec_buf, size, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cs_jpeg_decode()
|
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_winsys.c | 99 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()
|
D | radv_amdgpu_bo.c | 452 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/ |
D | amdgpu_winsys.c | 265 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()
|
D | amdgpu_bo.c | 508 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/ |
D | amdgpu_drm.h | 100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro 106 AMDGPU_GEM_DOMAIN_VRAM | \
|
/third_party/mesa3d/include/drm-uapi/ |
D | amdgpu_drm.h | 100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro 106 AMDGPU_GEM_DOMAIN_VRAM | \
|
/third_party/libdrm/amdgpu/ |
D | amdgpu_gpu_info.c | 258 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_query_heap_info()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_gpu_info.c | 52 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro 427 request.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in has_tmz_support()
|