From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 84FB889B27 for ; Wed, 25 Mar 2020 19:16:18 +0000 (UTC) Date: Wed, 25 Mar 2020 12:16:17 -0700 Message-ID: <87eetgtfcu.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <20200319225254.29840-2-umesh.nerlige.ramappa@intel.com> References: <20200319225254.29840-1-umesh.nerlige.ramappa@intel.com> <20200319225254.29840-2-umesh.nerlige.ramappa@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Subject: Re: [igt-dev] [PATCH i-g-t 1/3] include/drm-uapi: Update i915_drm.h for perf OA APIs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: Umesh Nerlige Ramappa Cc: igt-dev@lists.freedesktop.org List-ID: On Thu, 19 Mar 2020 15:52:52 -0700, Umesh Nerlige Ramappa wrote: > > From: Lionel Landwerlin > > Add APIs to configure poll delay in perf OA. > > v2: (Umesh) > - Remove interrupt and flush APIs > - Change commit message > > v3: (Umesh) > - Rebase > - Rename uapi parameter used to set poll timer interval > > Signed-off-by: Lionel Landwerlin > Signed-off-by: Umesh Nerlige Ramappa > --- > include/drm-uapi/i915_drm.h | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/include/drm-uapi/i915_drm.h b/include/drm-uapi/i915_drm.h > index 3794e768..594a42d1 100644 > --- a/include/drm-uapi/i915_drm.h > +++ b/include/drm-uapi/i915_drm.h > @@ -1969,6 +1969,30 @@ enum drm_i915_perf_property_id { > */ > DRM_I915_PERF_PROP_HOLD_PREEMPTION, > > + /** > + * Specifying this pins all contexts to the specified SSEU power > + * configuration for the duration of the recording. > + * > + * This parameter's value is a pointer to a struct > + * drm_i915_gem_context_param_sseu. > + * > + * This property is available in perf revision 4. > + */ > + DRM_I915_PERF_PROP_GLOBAL_SSEU, > + > + /** > + * This optional parameter specifies the timer interval in nanoseconds > + * at which the i915 driver will check the OA buffer for available data. > + * Minimum allowed value is 100 microseconds. A default value is used by > + * the driver if this parameter is not specified. Note that a large > + * value may reduce cpu consumption during OA perf captures, but it > + * would also potentially result in OA buffer overwrite as the captures > + * reach end of the OA buffer. The wording here was changed during the i915 patch review, please update it. > + * > + * This property is available in perf revision 5. > + */ > + DRM_I915_PERF_PROP_POLL_OA_PERIOD, > + > DRM_I915_PERF_PROP_MAX /* non-ABI */ > }; > > -- > 2.20.1 > _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev