Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
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 = node->base.num_pages; 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()
Damdgpu_res_cursor.h93 node = to_ttm_range_mgr_node(res)->mm_nodes; in amdgpu_res_first()
/linux-6.1.9/drivers/gpu/drm/ttm/
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()
/linux-6.1.9/include/drm/ttm/
Dttm_range_manager.h21 struct drm_mm_node mm_nodes[]; member
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_region_ttm.c172 return i915_rsgt_from_mm_node(&range_node->mm_nodes[0], in intel_region_ttm_resource_to_rsgt()