Searched refs:bo_adev (Results 1 – 4 of 4) sorted by relevance
69 struct amdgpu_device *bo_adev) in amdgpu_xgmi_same_hive() argument72 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()
406 struct amdgpu_device *bo_adev = amdgpu_ttm_adev(mem->bo->tbo.bdev); in get_pte_flags() local423 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() local825 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()
1005 struct amdgpu_device *bo_adev; in amdgpu_vm_bo_update() local1012 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()
172 struct amdgpu_device *bo_adev = in svm_range_dma_map_dev() local176 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() local446 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() local1152 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 …]