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

2013-09-11 Thread Chris Wilson
The first goal is to be able to measure GPU (and invidual ring) busyness without having to poll registers from userspace. (Which not only incurs holding the forcewake lock indefinitely, perturbing the system, but also runs the risk of hanging the machine.) As an alternative we can use the perf even

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

2013-09-10 Thread Chris Wilson
On Wed, Aug 21, 2013 at 03:14:22PM +0200, Daniel Vetter wrote: > On Tue, Aug 20, 2013 at 10:17 PM, Chris Wilson > wrote: > > The first goal is to be able to measure GPU (and invidual ring) busyness > > without having to poll registers from userspace. (Which not only incurs > > holding the forcewa

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

2013-08-21 Thread Daniel Vetter
On Tue, Aug 20, 2013 at 10:17 PM, Chris Wilson wrote: > The first goal is to be able to measure GPU (and invidual ring) busyness > without having to poll registers from userspace. (Which not only incurs > holding the forcewake lock indefinitely, perturbing the system, but also > runs the risk of h

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

2013-08-20 Thread Chris Wilson
The first goal is to be able to measure GPU (and invidual ring) busyness without having to poll registers from userspace. (Which not only incurs holding the forcewake lock indefinitely, perturbing the system, but also runs the risk of hanging the machine.) As an alternative we can use the perf even