From: Lionel Landwerlin Subject: Re: [PATCH v2 9/15] drm/i915: expose _SLICE_MASK GETPARM Date: Wed, 3 May 2017 11:14:13 -0700 Message-ID: <2370f45e-b279-e2a2-9f14-6097ac334433@intel.com> References: <20170424071751.2416-1-lionel.g.landwerlin@intel.com> <20170503162357.8139-1-lionel.g.landwerlin@intel.com> <20170503163311.GK8277@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0567932141==" Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id DDF786E19C for ; Wed, 3 May 2017 18:14:15 +0000 (UTC) In-Reply-To: <20170503163311.GK8277@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org This is a multi-part message in MIME format. --===============0567932141== Content-Type: multipart/alternative; boundary="------------ABF2AE7B0522D90E0621C5B8" This is a multi-part message in MIME format. --------------ABF2AE7B0522D90E0621C5B8 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 03/05/17 09:33, Chris Wilson wrote: > On Wed, May 03, 2017 at 09:23:56AM -0700, Lionel Landwerlin wrote: >> From: Robert Bragg >> >> Enables userspace to determine the number of slices enabled and also >> know what specific slices are enabled. This information is required, for >> example, to be able to analyse some OA counter reports where the counter >> configuration depends on the HW slice configuration. > This is counter to the suggestion that contexts program these > themselves. There will be no global value. > -Chris > I saw your patches and was wondering whether the actual value userspace wants is the all on mask without the fused parts. If that's not the case, we might have to turn everything on for as long as i915 perf is being used. In any case, I'll have to update the commit message. I'll get back to you. Thanks, - Lionel --------------ABF2AE7B0522D90E0621C5B8 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit
On 03/05/17 09:33, Chris Wilson wrote:
On Wed, May 03, 2017 at 09:23:56AM -0700, Lionel Landwerlin wrote:
From: Robert Bragg <robert@sixbynine.org>

Enables userspace to determine the number of slices enabled and also
know what specific slices are enabled. This information is required, for
example, to be able to analyse some OA counter reports where the counter
configuration depends on the HW slice configuration.
This is counter to the suggestion that contexts program these
themselves. There will be no global value.
-Chris

I saw your patches and was wondering whether the actual value userspace wants is the all on mask without the fused parts.

If that's not the case, we might have to turn everything on for as long as i915 perf is being used.
In any case, I'll have to update the commit message.

I'll get back to you.

Thanks,

-
Lionel

--------------ABF2AE7B0522D90E0621C5B8-- --===============0567932141== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSW50ZWwtZ2Z4 IG1haWxpbmcgbGlzdApJbnRlbC1nZnhAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vaW50ZWwtZ2Z4Cg== --===============0567932141==--