Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.c188 bo_node = container_of(hash, typeof(*bo_node), hash); in vmw_validation_find_bo_dup()
197 bo_node = entry; in vmw_validation_find_bo_dup()
203 return bo_node; in vmw_validation_find_bo_dup()
266 struct vmw_validation_bo_node *bo_node; in vmw_validation_add_bo() local
269 if (!bo_node) { in vmw_validation_add_bo()
272 bo_node = vmw_validation_mem_alloc(ctx, sizeof(*bo_node)); in vmw_validation_add_bo()
273 if (!bo_node) in vmw_validation_add_bo()
279 bo_node->hash.key); in vmw_validation_add_bo()
281 val_buf = &bo_node->base; in vmw_validation_add_bo()
457 if (WARN_ON(!bo_node)) { in vmw_validation_res_reserve()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c1215 struct kfd_node *bo_node; in svm_range_get_pte_flags() local
1225 bo_node = prange->svm_bo->node; in svm_range_get_pte_flags()
1230 if (bo_node == node) { in svm_range_get_pte_flags()
1246 if (bo_node == node) { in svm_range_get_pte_flags()
1270 if (bo_node->adev == node->adev && in svm_range_get_pte_flags()
1271 (!bo_node->xcp || !node->xcp || bo_node->xcp->mem_id == node->xcp->mem_id)) in svm_range_get_pte_flags()
2670 if (bo_node && svm_nodes_in_same_hive(node, bo_node)) in svm_range_best_restore_location()
3346 struct kfd_node *bo_node; in svm_range_best_prefetch_location() local
3356 if (!bo_node) { in svm_range_best_prefetch_location()
3362 if (bo_node->adev->gmc.is_app_apu) { in svm_range_best_prefetch_location()
[all …]