|
@@ -90,6 +90,11 @@
|
|
*
|
|
*
|
|
* Finally iteration helpers to walk all nodes and all holes are provided as are
|
|
* Finally iteration helpers to walk all nodes and all holes are provided as are
|
|
* some basic allocator dumpers for debugging.
|
|
* some basic allocator dumpers for debugging.
|
|
|
|
+ *
|
|
|
|
+ * Note that this range allocator is not thread-safe, drivers need to protect
|
|
|
|
+ * modifications with their on locking. The idea behind this is that for a full
|
|
|
|
+ * memory manager additional data needs to be protected anyway, hence internal
|
|
|
|
+ * locking would be fully redundant.
|
|
*/
|
|
*/
|
|
|
|
|
|
static struct drm_mm_node *drm_mm_search_free_in_range_generic(const struct drm_mm *mm,
|
|
static struct drm_mm_node *drm_mm_search_free_in_range_generic(const struct drm_mm *mm,
|