diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-08 08:19:16 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-11-08 20:13:48 -0500 |
commit | 77d150b90d58ae6a43bf67af28feb26384d06cd6 (patch) | |
tree | 7faf158859786ca36f20a2cc96bc4e928fdec747 | |
parent | cd456f8d06d2036e1e013136c3fbf5721d04f6d7 (diff) |
drm/i915: Restrict DRM_DEBUG_MM automatic selection
DRM_DEBUG_MM is only valid if the DRM.ko is builtin as currently
depot_save_stack is not exported.
Fixes: 5c7fcf2db027 ("drm/i915: Enable drm_mm debug when enabling DRM_I915_DEBUG")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161108131917.6253-1-chris@chris-wilson.co.uk
-rw-r--r-- | drivers/gpu/drm/i915/Kconfig.debug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug index 69edf196ed03..51ba630a134b 100644 --- a/drivers/gpu/drm/i915/Kconfig.debug +++ b/drivers/gpu/drm/i915/Kconfig.debug | |||
@@ -21,7 +21,7 @@ config DRM_I915_DEBUG | |||
21 | select PREEMPT_COUNT | 21 | select PREEMPT_COUNT |
22 | select X86_MSR # used by igt/pm_rpm | 22 | select X86_MSR # used by igt/pm_rpm |
23 | select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks) | 23 | select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks) |
24 | select DRM_DEBUG_MM | 24 | select DRM_DEBUG_MM if DRM=y |
25 | default n | 25 | default n |
26 | help | 26 | help |
27 | Choose this option to turn on extra driver debugging that may affect | 27 | Choose this option to turn on extra driver debugging that may affect |