aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_mm.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h
index da94071b1703..e8740cc185cf 100644
--- a/include/drm/drm_mm.h
+++ b/include/drm/drm_mm.h
@@ -42,8 +42,8 @@
42#endif 42#endif
43 43
44struct drm_mm_node { 44struct drm_mm_node {
45 struct list_head fl_entry; 45 struct list_head free_stack;
46 struct list_head ml_entry; 46 struct list_head node_list;
47 int free; 47 int free;
48 unsigned long start; 48 unsigned long start;
49 unsigned long size; 49 unsigned long size;
@@ -51,8 +51,11 @@ struct drm_mm_node {
51}; 51};
52 52
53struct drm_mm { 53struct drm_mm {
54 struct list_head fl_entry; 54 /* List of free memory blocks, most recently freed ordered. */
55 struct list_head ml_entry; 55 struct list_head free_stack;
56 /* List of all memory nodes, ordered according to the (increasing) start
57 * address of the memory node. */
58 struct list_head node_list;
56 struct list_head unused_nodes; 59 struct list_head unused_nodes;
57 int num_unused; 60 int num_unused;
58 spinlock_t unused_lock; 61 spinlock_t unused_lock;