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 8f404103341d9e6a349e22de5e89d53d247c4daa..43400adc95db315b326e9985454815203076d4e6 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