drm/i915/debug: Select PREEMPT_COUNT when enabling debugging
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 28 Jun 2016 11:51:49 +0000 (12:51 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 29 Jun 2016 14:53:14 +0000 (15:53 +0100)
Required to enable correct wait_for_atomic checks.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/Kconfig.debug

index 8f40410..43400ad 100644 (file)
@@ -18,6 +18,7 @@ config DRM_I915_WERROR
 config DRM_I915_DEBUG
         bool "Enable additional driver debugging"
         depends on DRM_I915
+        select PREEMPT_COUNT
         default n
         help
           Choose this option to turn on extra driver debugging that may affect