Re: [Intel-gfx] [PATCH 1/3] drm/i915: Keep track of request counts

2011-10-29 Thread Ben Widawsky
On Sat, 29 Oct 2011 11:35:13 +0200 Daniel Vetter wrote: > On Fri, Oct 28, 2011 at 10:55:27PM -0700, Ben Widawsky wrote: > > There is already a list of requests outstanding for a given client. > > Keeping a count is easy, and will give some information necessary to > > enable a more fair throttlin

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Keep track of request counts

2011-10-29 Thread Daniel Vetter
On Fri, Oct 28, 2011 at 10:55:27PM -0700, Ben Widawsky wrote: > There is already a list of requests outstanding for a given client. > Keeping a count is easy, and will give some information necessary to > enable a more fair throttling scheme. > > For now a client is uniquely identified by its file

[Intel-gfx] [PATCH 1/3] drm/i915: Keep track of request counts

2011-10-28 Thread Ben Widawsky
There is already a list of requests outstanding for a given client. Keeping a count is easy, and will give some information necessary to enable a more fair throttling scheme. For now a client is uniquely identified by its file descriptor, however this may change in the future with new process APIs