Skip to content

Commit 377cb67

Browse files
committed
tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
To pick the change in: 4ef10fe ("drm/i915/perf: add new open param to configure polling of OA buffer") 11ecbdd ("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>
1 parent d8e1ef6 commit 377cb67

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

‎tools/include/uapi/drm/i915_drm.h‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1969,6 +1969,30 @@ enum drm_i915_perf_property_id {
19691969
*/
19701970
DRM_I915_PERF_PROP_HOLD_PREEMPTION,
19711971

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+
19721996
DRM_I915_PERF_PROP_MAX /* non-ABI */
19731997
};
19741998

0 commit comments

Comments
 (0)