Searched refs:bo_adev (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_xgmi.h | 69 struct amdgpu_device *bo_adev) in amdgpu_xgmi_same_hive() argument 72 adev != bo_adev && in amdgpu_xgmi_same_hive() 74 adev->gmc.xgmi.hive_id == bo_adev->gmc.xgmi.hive_id); in amdgpu_xgmi_same_hive()
|
D | amdgpu_amdkfd_gpuvm.c | 101 static bool reuse_dmamap(struct amdgpu_device *adev, struct amdgpu_device *bo_adev) in reuse_dmamap() argument 103 return (adev->ram_is_direct_mapped && bo_adev->ram_is_direct_mapped) || in reuse_dmamap() 104 (adev->dev->iommu_group == bo_adev->dev->iommu_group); in reuse_dmamap() 826 struct amdgpu_device *bo_adev = amdgpu_ttm_adev(mem->bo->tbo.bdev); in kfd_mem_attach() local 847 if ((adev != bo_adev && !adev->gmc.is_app_apu) && in kfd_mem_attach() 852 same_hive = amdgpu_xgmi_same_hive(adev, bo_adev); in kfd_mem_attach() 853 if (!same_hive && !amdgpu_device_is_peer_accessible(bo_adev, adev)) in kfd_mem_attach() 867 if ((adev == bo_adev && !(mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP)) || in kfd_mem_attach() 868 (amdgpu_ttm_tt_get_usermm(mem->bo->tbo.ttm) && reuse_dmamap(adev, bo_adev)) || in kfd_mem_attach()
|
D | gmc_v9_0.c | 1184 struct amdgpu_device *bo_adev = amdgpu_ttm_adev(bo->tbo.bdev); in gmc_v9_0_get_coherence_flags() local 1197 if (bo_adev == adev) { in gmc_v9_0_get_coherence_flags() 1249 (is_vram && adev == bo_adev && in gmc_v9_0_get_coherence_flags()
|
D | amdgpu_vm.c | 1105 struct amdgpu_device *bo_adev; in amdgpu_vm_bo_update() local 1112 bo_adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_vm_bo_update() 1113 vram_base = bo_adev->vm_manager.vram_base_offset; in amdgpu_vm_bo_update()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_svm.c | 183 struct amdgpu_device *bo_adev = prange->svm_bo->node->adev; in svm_range_dma_map_dev() local 186 bo_adev->vm_manager.vram_base_offset - in svm_range_dma_map_dev() 187 bo_adev->kfd.pgmap.range.start; in svm_range_dma_map_dev() 1360 dma_addr_t *dma_addr, struct amdgpu_device *bo_adev, in svm_range_map_to_gpu() argument 1407 bo_adev ? bo_adev->vm_manager.vram_base_offset : 0, in svm_range_map_to_gpu() 1440 struct amdgpu_device *bo_adev = NULL; in svm_range_map_to_gpus() local 1447 bo_adev = prange->svm_bo->node->adev; in svm_range_map_to_gpus() 1462 if (bo_adev && pdd->dev->adev != bo_adev && in svm_range_map_to_gpus() 1463 !amdgpu_xgmi_same_hive(pdd->dev->adev, bo_adev)) { in svm_range_map_to_gpus() 1470 bo_adev, wait ? &fence : NULL, in svm_range_map_to_gpus()
|