[Intel-gfx] [PATCH] drm/i915/pmu: Turn on perf events in debug mode
Tvrtko Ursulin
tursulin at ursulin.net
Wed Nov 22 16:59:01 UTC 2017
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
We have a policy to select all optional kernel features which are needed
for CI if DRM_I915_DEBUG is turned on. So add PERF_EVENTS as well.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
---
drivers/gpu/drm/i915/Kconfig.debug | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug
index 9e53edbc713b..1a75cc94e759 100644
--- a/drivers/gpu/drm/i915/Kconfig.debug
+++ b/drivers/gpu/drm/i915/Kconfig.debug
@@ -29,6 +29,7 @@ config DRM_I915_DEBUG
select DRM_I915_SW_FENCE_DEBUG_OBJECTS
select DRM_I915_SELFTEST
select DRM_I915_TRACE_GEM
+ select PERF_EVENTS
default n
help
Choose this option to turn on extra driver debugging that may affect
--
2.14.1
More information about the Intel-gfx
mailing list