Lines Matching refs:bo_adev

173 			struct amdgpu_device *bo_adev =  in svm_range_dma_map_dev()  local
177 bo_adev->vm_manager.vram_base_offset - in svm_range_dma_map_dev()
178 bo_adev->kfd.dev->pgmap.range.start; in svm_range_dma_map_dev()
429 struct amdgpu_device *bo_adev; in svm_range_validate_svm_bo() local
447 bo_adev = amdgpu_ttm_adev(prange->svm_bo->bo->tbo.bdev); in svm_range_validate_svm_bo()
448 if (bo_adev != adev) { in svm_range_validate_svm_bo()
1154 struct amdgpu_device *bo_adev; in svm_range_get_pte_flags() local
1162 bo_adev = amdgpu_ttm_adev(prange->svm_bo->bo->tbo.bdev); in svm_range_get_pte_flags()
1167 if (bo_adev == adev) { in svm_range_get_pte_flags()
1173 if (amdgpu_xgmi_same_hive(adev, bo_adev)) in svm_range_get_pte_flags()
1183 if (bo_adev == adev) { in svm_range_get_pte_flags()
1191 if (amdgpu_xgmi_same_hive(adev, bo_adev)) in svm_range_get_pte_flags()
1292 dma_addr_t *dma_addr, struct amdgpu_device *bo_adev, in svm_range_map_to_gpu() argument
1335 bo_adev ? bo_adev->vm_manager.vram_base_offset : 0, in svm_range_map_to_gpu()
1368 struct amdgpu_device *bo_adev; in svm_range_map_to_gpus() local
1375 bo_adev = amdgpu_ttm_adev(prange->svm_bo->bo->tbo.bdev); in svm_range_map_to_gpus()
1377 bo_adev = NULL; in svm_range_map_to_gpus()
1392 if (bo_adev && pdd->dev->adev != bo_adev && in svm_range_map_to_gpus()
1393 !amdgpu_xgmi_same_hive(pdd->dev->adev, bo_adev)) { in svm_range_map_to_gpus()
1400 bo_adev, wait ? &fence : NULL, in svm_range_map_to_gpus()
2505 struct amdgpu_device *bo_adev, *preferred_adev; in svm_range_best_restore_location() local
2536 bo_adev = svm_range_get_adev_by_id(prange, prange->actual_loc); in svm_range_best_restore_location()
2537 if (amdgpu_xgmi_same_hive(adev, bo_adev)) in svm_range_best_restore_location()
3207 struct amdgpu_device *bo_adev; in svm_range_best_prefetch_location() local
3216 bo_adev = svm_range_get_adev_by_id(prange, best_loc); in svm_range_best_prefetch_location()
3217 if (!bo_adev) { in svm_range_best_prefetch_location()
3236 if (pdd->dev->adev == bo_adev) in svm_range_best_prefetch_location()
3239 if (!amdgpu_xgmi_same_hive(pdd->dev->adev, bo_adev)) { in svm_range_best_prefetch_location()