Quoting Tvrtko Ursulin (2017-11-22 16:59:01)
> From: Tvrtko Ursulin <[email protected]>
> 
> 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 <[email protected]>
> Suggested-by: Chris Wilson <[email protected]>
> ---
>  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

If I am reading arch/x86/Kconfig correctly, then PERF_EVENTS is always
selected for X86.

config X86
        def_bool y
        ...
        select HAVE_PERF_EVENTS
        ...
        select PERF_EVENTS
        ...

Is it worth documenting our need for the syscall to run igt/perf_pmu
anyway?
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to