[Intel-gfx] [PATCH 9/9] drm/i915/execlists: Report GPU rendering as IO activity to cpufreq.

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 28 19:20:19 UTC 2018


Quoting Francisco Jerez (2018-03-28 19:55:12)
> Hi Chris,
> 
[snip]
> That said, it wouldn't hurt to call each of them once per sequence of
> overlapping requests.  Do you want me to call them from
> execlists_set/clear_active() themselves when bit == EXECLISTS_ACTIVE_USER,
> or at each callsite of execlists_set/clear_active()? [possibly protected
> with a check that execlists_is_active(EXECLISTS_ACTIVE_USER) wasn't
> already the expected value]

No, I was thinking of adding an execlists_start()/execlists_stop()
[naming suggestions welcome, begin/end?] where we could hook additional
bookkeeping into.
-Chris


More information about the Intel-gfx mailing list