Re: [Intel-gfx] [PATCH v6 6/6] drm/i915: expose rcs topology through query uAPI

2018-01-17 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-01-17 09:58:33) > > Engine-stats I had no plans to expose here. You think it would be > useful? Main issue would be that we'd need commands to enable/disable > and not just queries. Unless some magic to auto-enable on first query > and drop after some timeout..

Re: [Intel-gfx] [PATCH v6 6/6] drm/i915: expose rcs topology through query uAPI

2018-01-17 Thread Tvrtko Ursulin
On 16/01/2018 17:40, Chris Wilson wrote: Quoting Tvrtko Ursulin (2018-01-16 16:22:52) On 16/01/2018 16:02, Lionel Landwerlin wrote: diff --git a/drivers/gpu/drm/i915/i915_query.c b/drivers/gpu/drm/i915/i915_query.c index 6468ca613d27..81367c8224ee 100644 ---

Re: [Intel-gfx] [PATCH v6 6/6] drm/i915: expose rcs topology through query uAPI

2018-01-16 Thread Lionel Landwerlin
On 16/01/18 17:40, Chris Wilson wrote: Quoting Tvrtko Ursulin (2018-01-16 16:22:52) On 16/01/2018 16:02, Lionel Landwerlin wrote: diff --git a/drivers/gpu/drm/i915/i915_query.c b/drivers/gpu/drm/i915/i915_query.c index 6468ca613d27..81367c8224ee 100644 --- a/drivers/gpu/drm/i915/i915_query.c

Re: [Intel-gfx] [PATCH v6 6/6] drm/i915: expose rcs topology through query uAPI

2018-01-16 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-01-16 16:22:52) > > On 16/01/2018 16:02, Lionel Landwerlin wrote: > > diff --git a/drivers/gpu/drm/i915/i915_query.c > > b/drivers/gpu/drm/i915/i915_query.c > > index 6468ca613d27..81367c8224ee 100644 > > --- a/drivers/gpu/drm/i915/i915_query.c > > +++

Re: [Intel-gfx] [PATCH v6 6/6] drm/i915: expose rcs topology through query uAPI

2018-01-16 Thread Tvrtko Ursulin
On 16/01/2018 16:02, Lionel Landwerlin wrote: With the introduction of asymmetric slices in CNL, we cannot rely on the previous SUBSLICE_MASK getparam to tell userspace what subslices are available. Here we introduce a more detailed way of querying the Gen's GPU topology that doesn't aggregate

[Intel-gfx] [PATCH v6 6/6] drm/i915: expose rcs topology through query uAPI

2018-01-16 Thread Lionel Landwerlin
With the introduction of asymmetric slices in CNL, we cannot rely on the previous SUBSLICE_MASK getparam to tell userspace what subslices are available. Here we introduce a more detailed way of querying the Gen's GPU topology that doesn't aggregate numbers. This is essential for monitoring parts