aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_mm.h')
-rw-r--r--include/drm/drm_mm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/drm/drm_mm.h b/include/drm/drm_mm.h
index 205ddcf6d55d..41ddafe92b2f 100644
--- a/include/drm/drm_mm.h
+++ b/include/drm/drm_mm.h
@@ -44,6 +44,9 @@
44#ifdef CONFIG_DEBUG_FS 44#ifdef CONFIG_DEBUG_FS
45#include <linux/seq_file.h> 45#include <linux/seq_file.h>
46#endif 46#endif
47#ifdef CONFIG_DRM_DEBUG_MM
48#include <linux/stackdepot.h>
49#endif
47 50
48enum drm_mm_search_flags { 51enum drm_mm_search_flags {
49 DRM_MM_SEARCH_DEFAULT = 0, 52 DRM_MM_SEARCH_DEFAULT = 0,
@@ -74,6 +77,9 @@ struct drm_mm_node {
74 u64 size; 77 u64 size;
75 u64 __subtree_last; 78 u64 __subtree_last;
76 struct drm_mm *mm; 79 struct drm_mm *mm;
80#ifdef CONFIG_DRM_DEBUG_MM
81 depot_stack_handle_t stack;
82#endif
77}; 83};
78 84
79struct drm_mm { 85struct drm_mm {