Re: [Intel-gfx] Tracing PM-triggered GPU frequency changes from user space

2017-11-14 Thread Chris Wilson
Quoting Heinrich Fink (2017-11-14 17:18:39) > On Tue, 2017-11-14 at 12:23 +, Chris Wilson wrote: > > What is a PM-triggered change of gpu freq? Do you mean when the hw > > itself throttles depending on thermal load. > > yes, that's what I meant. Apologies for not being clear about this. > > >

Re: [Intel-gfx] Tracing PM-triggered GPU frequency changes from user space

2017-11-14 Thread Heinrich Fink
On Tue, 2017-11-14 at 12:23 +, Chris Wilson wrote: > What is a PM-triggered change of gpu freq? Do you mean when the hw > itself throttles depending on thermal load. yes, that's what I meant. Apologies for not being clear about this. > Then no. Best you can do is > use the i915 pmu interface

Re: [Intel-gfx] Tracing PM-triggered GPU frequency changes from user space

2017-11-14 Thread Chris Wilson
Quoting Heinrich Fink (2017-11-14 12:19:28) > Hi, > > is there a simple way for user space to trace PM-triggered changes of > GPU frequency on GEN9/Skylake? What is a PM-triggered change of gpu freq? Do you mean when the hw itself throttles depending on thermal load. Then no. Best you can do is

[Intel-gfx] Tracing PM-triggered GPU frequency changes from user space

2017-11-14 Thread Heinrich Fink
Hi, is there a simple way for user space to trace PM-triggered changes of GPU frequency on GEN9/Skylake? i915:intel_gpu_freq_change seems to only report SW-triggered frequency change requests. The best option I currently see is to poll gt_act_freq_mhz, but I was hoping for a more elegant solutio