Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.c160 struct vmw_validation_bo_node *bo_node = NULL; in vmw_validation_find_bo_dup() local
171 bo_node = container_of(hash, typeof(*bo_node), hash); in vmw_validation_find_bo_dup()
180 bo_node = entry; in vmw_validation_find_bo_dup()
186 return bo_node; in vmw_validation_find_bo_dup()
249 struct vmw_validation_bo_node *bo_node; in vmw_validation_add_bo() local
251 bo_node = vmw_validation_find_bo_dup(ctx, vbo); in vmw_validation_add_bo()
252 if (!bo_node) { in vmw_validation_add_bo()
255 bo_node = vmw_validation_mem_alloc(ctx, sizeof(*bo_node)); in vmw_validation_add_bo()
256 if (!bo_node) in vmw_validation_add_bo()
260 bo_node->hash.key = (unsigned long) vbo; in vmw_validation_add_bo()
[all …]
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c1195 struct kfd_node *bo_node; in svm_range_get_pte_flags() local
1205 bo_node = prange->svm_bo->node; in svm_range_get_pte_flags()
1210 if (bo_node == node) { in svm_range_get_pte_flags()
1216 if (svm_nodes_in_same_hive(node, bo_node)) in svm_range_get_pte_flags()
1226 if (bo_node == node) { in svm_range_get_pte_flags()
1234 if (svm_nodes_in_same_hive(node, bo_node)) in svm_range_get_pte_flags()
1252 if (bo_node->adev == node->adev && in svm_range_get_pte_flags()
1253 (!bo_node->xcp || !node->xcp || bo_node->xcp->mem_id == node->xcp->mem_id)) in svm_range_get_pte_flags()
1258 else if (svm_nodes_in_same_hive(bo_node, node) && !ext_coherent) in svm_range_get_pte_flags()
1280 if (bo_node != node) in svm_range_get_pte_flags()
[all …]