Lines Matching refs:drm_mm

62  * The &struct drm_mm range manager supports finding a suitable modes using
151 * This represents an allocated block in a &drm_mm allocator. Except for
165 struct drm_mm *mm;
183 * struct drm_mm - DRM allocator
190 struct drm_mm {
229 struct drm_mm *mm;
250 * drm_mm range manager.
252 * Drivers should use this helper for proper encapsulation of drm_mm
265 * @mm: drm_mm to check
267 * Drivers should clear the struct drm_mm prior to initialisation if they
270 * Drivers should use this helper for proper encapsulation of drm_mm
276 static inline bool drm_mm_initialized(const struct drm_mm *mm)
285 * Holes are embedded into the drm_mm using the tail of a drm_mm_node.
342 * drm_mm_nodes - list of nodes under the drm_mm range manager
343 * @mm: the struct drm_mm range manager
345 * As the drm_mm range manager hides its node_list deep with its
358 * @mm: &drm_mm allocator to walk
370 * @mm: &drm_mm allocator to walk
381 * @mm: &drm_mm allocator to walk
404 * Basic range manager support (drm_mm.c)
406 int drm_mm_reserve_node(struct drm_mm *mm, struct drm_mm_node *node);
407 int drm_mm_insert_node_in_range(struct drm_mm *mm,
418 * @mm: drm_mm to allocate from
434 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node,
446 * @mm: drm_mm to allocate from
458 static inline int drm_mm_insert_node(struct drm_mm *mm,
466 void drm_mm_init(struct drm_mm *mm, u64 start, u64 size);
467 void drm_mm_takedown(struct drm_mm *mm);
471 * @mm: drm_mm allocator to check
477 static inline bool drm_mm_clean(const struct drm_mm *mm)
483 __drm_mm_interval_first(const struct drm_mm *mm, u64 start, u64 last);
489 * @mm__: drm_mm allocator to walk
497 * that @end is within (or is the upper limit of) the drm_mm allocator.
498 * If [@start, @end] are beyond the range of the drm_mm, the iterator may walk
499 * over the special _unallocated_ &drm_mm.head_node, and may even continue
508 struct drm_mm *mm,
516 * @mm: drm_mm to scan
533 struct drm_mm *mm,
550 void drm_mm_print(const struct drm_mm *mm, struct drm_printer *p);