Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools headers UAPI: Sync drm/i915_drm.h with the kernel sources

To pick the change in:

4ef10fe05ba0 ("drm/i915/perf: add new open param to configure polling of OA buffer")
11ecbdddf2f8 ("drm/i915/perf: introduce global sseu pinning")

That don't result in any changes in tooling, just silences this perf
build warning:

Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
diff -u tools/include/uapi/drm/i915_drm.h include/uapi/drm/i915_drm.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+24
+24
tools/include/uapi/drm/i915_drm.h
··· 1969 1969 */ 1970 1970 DRM_I915_PERF_PROP_HOLD_PREEMPTION, 1971 1971 1972 + /** 1973 + * Specifying this pins all contexts to the specified SSEU power 1974 + * configuration for the duration of the recording. 1975 + * 1976 + * This parameter's value is a pointer to a struct 1977 + * drm_i915_gem_context_param_sseu. 1978 + * 1979 + * This property is available in perf revision 4. 1980 + */ 1981 + DRM_I915_PERF_PROP_GLOBAL_SSEU, 1982 + 1983 + /** 1984 + * This optional parameter specifies the timer interval in nanoseconds 1985 + * at which the i915 driver will check the OA buffer for available data. 1986 + * Minimum allowed value is 100 microseconds. A default value is used by 1987 + * the driver if this parameter is not specified. Note that larger timer 1988 + * values will reduce cpu consumption during OA perf captures. However, 1989 + * excessively large values would potentially result in OA buffer 1990 + * overwrites as captures reach end of the OA buffer. 1991 + * 1992 + * This property is available in perf revision 5. 1993 + */ 1994 + DRM_I915_PERF_PROP_POLL_OA_PERIOD, 1995 + 1972 1996 DRM_I915_PERF_PROP_MAX /* non-ABI */ 1973 1997 }; 1974 1998