Home
last modified time | relevance | path

Searched refs:bo_adev (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.h69 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()
Damdgpu_amdkfd_gpuvm.c406 struct amdgpu_device *bo_adev = amdgpu_ttm_adev(mem->bo->tbo.bdev); in get_pte_flags() local
423 if (bo_adev == adev) { in get_pte_flags()
438 if (amdgpu_xgmi_same_hive(adev, bo_adev)) in get_pte_flags()
804 struct amdgpu_device *bo_adev = amdgpu_ttm_adev(mem->bo->tbo.bdev); in kfd_mem_attach() local
825 if ((adev != bo_adev) && in kfd_mem_attach()
830 same_hive = amdgpu_xgmi_same_hive(adev, bo_adev); in kfd_mem_attach()
831 if (!same_hive && !amdgpu_device_is_peer_accessible(bo_adev, adev)) in kfd_mem_attach()
845 if ((adev == bo_adev && !(mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP)) || in kfd_mem_attach()
Damdgpu_vm.c1005 struct amdgpu_device *bo_adev; in amdgpu_vm_bo_update() local
1012 bo_adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_vm_bo_update()
1013 vram_base = bo_adev->vm_manager.vram_base_offset; in amdgpu_vm_bo_update()
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c172 struct amdgpu_device *bo_adev = in svm_range_dma_map_dev() local
176 bo_adev->vm_manager.vram_base_offset - in svm_range_dma_map_dev()
177 bo_adev->kfd.dev->pgmap.range.start; in svm_range_dma_map_dev()
428 struct amdgpu_device *bo_adev; in svm_range_validate_svm_bo() local
446 bo_adev = amdgpu_ttm_adev(prange->svm_bo->bo->tbo.bdev); in svm_range_validate_svm_bo()
447 if (bo_adev != adev) { in svm_range_validate_svm_bo()
1144 struct amdgpu_device *bo_adev; in svm_range_get_pte_flags() local
1152 bo_adev = amdgpu_ttm_adev(prange->svm_bo->bo->tbo.bdev); in svm_range_get_pte_flags()
1157 if (bo_adev == adev) { in svm_range_get_pte_flags()
1163 if (amdgpu_xgmi_same_hive(adev, bo_adev)) in svm_range_get_pte_flags()
[all …]