Home
last modified time | relevance | path

Searched refs:mm_nodes (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gtt_mgr.c100 return drm_mm_node_allocated(&node->mm_nodes[0]); in amdgpu_gtt_mgr_has_gart_addr()
123 node = kzalloc(struct_size(node, mm_nodes, 1), GFP_KERNEL); in amdgpu_gtt_mgr_new()
136 r = drm_mm_insert_node_in_range(&mgr->mm, &node->mm_nodes[0], in amdgpu_gtt_mgr_new()
144 node->base.start = node->mm_nodes[0].start; in amdgpu_gtt_mgr_new()
146 node->mm_nodes[0].start = 0; in amdgpu_gtt_mgr_new()
147 node->mm_nodes[0].size = PFN_UP(node->base.size); in amdgpu_gtt_mgr_new()
175 if (drm_mm_node_allocated(&node->mm_nodes[0])) in amdgpu_gtt_mgr_del()
176 drm_mm_remove_node(&node->mm_nodes[0]); in amdgpu_gtt_mgr_del()
199 node = container_of(mm_node, typeof(*node), mm_nodes[0]); in amdgpu_gtt_mgr_recover()
H A Damdgpu_res_cursor.h94 node = to_ttm_range_mgr_node(res)->mm_nodes; in amdgpu_res_first()
/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_range_manager.c74 node = kzalloc(struct_size(node, mm_nodes, 1), GFP_KERNEL); in ttm_range_man_alloc()
85 ret = drm_mm_insert_node_in_range(mm, &node->mm_nodes[0], in ttm_range_man_alloc()
97 node->base.start = node->mm_nodes[0].start; in ttm_range_man_alloc()
109 drm_mm_remove_node(&node->mm_nodes[0]); in ttm_range_man_free()
121 struct drm_mm_node *node = &to_ttm_range_mgr_node(res)->mm_nodes[0]; in ttm_range_man_intersects()
137 struct drm_mm_node *node = &to_ttm_range_mgr_node(res)->mm_nodes[0]; in ttm_range_man_compatible()
/openbmc/linux/include/drm/ttm/
H A Dttm_range_manager.h21 struct drm_mm_node mm_nodes[]; member
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_region_ttm.c171 return i915_rsgt_from_mm_node(&range_node->mm_nodes[0], in intel_region_ttm_resource_to_rsgt()