Re: [Intel-gfx] [RFC 04/11] drm/i915/pmu: Expose a PMU interface for perf queries

2017-09-14 Thread Chris Wilson
Quoting Tvrtko Ursulin (2017-09-11 16:25:52) > + case I915_PMU_RC6_RESIDENCY: > + val = intel_rc6_residency_ns(i915, > +IS_VALLEYVIEW(i915) ? > +VLV_GT_RENDER_RC6 : > +

Re: [Intel-gfx] [RFC 04/11] drm/i915/pmu: Expose a PMU interface for perf queries

2017-09-12 Thread Tvrtko Ursulin
On 12/09/2017 03:06, Rogozhkin, Dmitry V wrote: On Mon, 2017-09-11 at 16:25 +0100, Tvrtko Ursulin wrote: From: Tvrtko Ursulin From: Chris Wilson From: Tvrtko Ursulin From: Dmitry Rogozhkin

Re: [Intel-gfx] [RFC 04/11] drm/i915/pmu: Expose a PMU interface for perf queries

2017-09-11 Thread Rogozhkin, Dmitry V
On Mon, 2017-09-11 at 16:25 +0100, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > From: Chris Wilson > From: Tvrtko Ursulin > From: Dmitry Rogozhkin > > The first goal is to be able

[Intel-gfx] [RFC 04/11] drm/i915/pmu: Expose a PMU interface for perf queries

2017-09-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin From: Chris Wilson From: Tvrtko Ursulin From: Dmitry Rogozhkin The first goal is to be able to measure GPU (and invidual ring) busyness without having to poll