[Intel-gfx] [PATCH 3/7] drm/i915: Keep a count of requests submitted from userspace

Chris Wilson chris at chris-wilson.co.uk
Mon Apr 9 10:29:46 UTC 2018


Quoting Chris Wilson (2018-04-09 11:27:17)
> Quoting Tvrtko Ursulin (2018-04-09 11:17:04)
> > 
> > On 09/04/2018 10:25, Chris Wilson wrote:
> > > Downside being that we either then use atomic64 throughout or we mix
> > > atomic32/atomic64 knowing that we're on x86. (I feel like someone else
> > > must have solved this problem in a much neater way, before they went to
> > > per-cpu stats ;)
> > 
> > Is the winky implying you know who and where? :) We have three potential 
> > solutions now, even for if the winky is suggesting something.
> 
> Nah, just that atomic/locked counters are so old hat. Not sure if there
> remain any good examples for hotpath counters that remain applicable to
> our code.

With an underlying nudge that perhaps our hotpath code isn't so hot, and
if we can squeeze out a few more cycles.
-Chris


More information about the Intel-gfx mailing list