Home
last modified time | relevance | path

Searched refs:SVM_RANGE_VRAM_DOMAIN (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.h38 #define SVM_RANGE_VRAM_DOMAIN (1UL << 0) macro
Dkfd_svm.c144 !(dma_addr & SVM_RANGE_VRAM_DOMAIN); in svm_is_valid_dma_mapping_addr()
178 addr[i] |= SVM_RANGE_VRAM_DOMAIN; in svm_range_dma_map_dev()
1157 bool snoop = (domain != SVM_RANGE_VRAM_DOMAIN); in svm_range_get_pte_flags()
1160 if (domain == SVM_RANGE_VRAM_DOMAIN) in svm_range_get_pte_flags()
1165 if (domain == SVM_RANGE_VRAM_DOMAIN) { in svm_range_get_pte_flags()
1181 if (domain == SVM_RANGE_VRAM_DOMAIN) { in svm_range_get_pte_flags()
1211 pte_flags |= (domain == SVM_RANGE_VRAM_DOMAIN) ? 0 : AMDGPU_PTE_SYSTEM; in svm_range_get_pte_flags()
1308 last_domain = dma_addr[i] & SVM_RANGE_VRAM_DOMAIN; in svm_range_map_to_gpu()
1309 dma_addr[i] &= ~SVM_RANGE_VRAM_DOMAIN; in svm_range_map_to_gpu()
1315 last_domain == (dma_addr[i + 1] & SVM_RANGE_VRAM_DOMAIN)) in svm_range_map_to_gpu()
[all …]