summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/Kconfig.debug
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-12-05 14:29:40 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-12-05 20:49:17 +0000
commitbdb821ca44d753594ff65df4b7cfe05c5d908719 (patch)
tree53cebfb2c7fdaad5dac4c2715b4ba24e6713940e /drivers/gpu/drm/i915/Kconfig.debug
parent778e23a9e05b7a59e9dbd3f9d9c9395f2f977fc7 (diff)
downloadop-kernel-dev-bdb821ca44d753594ff65df4b7cfe05c5d908719.zip
op-kernel-dev-bdb821ca44d753594ff65df4b7cfe05c5d908719.tar.gz
drm/i915: Enable swfence debugobject support for i915.ko
Only once the debugobject symbols are exported can we enable support for debugging swfences when i915 is built as a module. Requires commit 2617fdca3f68 ("lib/debugobjects: export for use in modules") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161205142941.21965-5-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/Kconfig.debug')
-rw-r--r--drivers/gpu/drm/i915/Kconfig.debug4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug
index cc4ad57..597648c 100644
--- a/drivers/gpu/drm/i915/Kconfig.debug
+++ b/drivers/gpu/drm/i915/Kconfig.debug
@@ -24,7 +24,7 @@ config DRM_I915_DEBUG
select X86_MSR # used by igt/pm_rpm
select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks)
select DRM_DEBUG_MM if DRM=y
- select DRM_I915_SW_FENCE_DEBUG_OBJECTS if DRM_I915=y
+ select DRM_I915_SW_FENCE_DEBUG_OBJECTS
default n
help
Choose this option to turn on extra driver debugging that may affect
@@ -48,7 +48,7 @@ config DRM_I915_DEBUG_GEM
config DRM_I915_SW_FENCE_DEBUG_OBJECTS
bool "Enable additional driver debugging for fence objects"
- depends on DRM_I915=y
+ depends on DRM_I915
select DEBUG_OBJECTS
default n
help
OpenPOWER on IntegriCloud