[PATCH] Add power/gpu_frequency tracepoint.

2020-10-22 Thread Peiyong Lin
Historically there is no common trace event for GPU frequency, in downstream Android each different hardware vendor implements their own way to expose GPU frequency, for example as a debugfs node. This patch standardize it as a common trace event in upstream linux kernel to help the ecosystem

Re: [PATCH] Add power/gpu_frequency tracepoint.

2020-08-14 Thread Peiyong Lin
Hi Chris, please see my comments inline. On Fri, Aug 14, 2020 at 8:22 AM Chris Wilson wrote: > > Quoting Peiyong Lin (2020-08-13 22:03:57) > > Historically there is no common trace event for GPU frequency, in > > downstream Android each different hardware vendor implements their own > > way to

Re: [PATCH] Add power/gpu_frequency tracepoint.

2020-08-13 Thread Steven Rostedt
On Thu, 13 Aug 2020 14:03:57 -0700 Peiyong Lin wrote: > +/** > + * gpu_frequency - Reports frequency changes in GPU clock domains > + * @state: New frequency (in KHz) > + * @gpu_id: GPU clock domain > + */ > +TRACE_EVENT(gpu_frequency, > + > + TP_PROTO(unsigned int state, unsigned int

[PATCH] Add power/gpu_frequency tracepoint.

2020-08-13 Thread Peiyong Lin
Historically there is no common trace event for GPU frequency, in downstream Android each different hardware vendor implements their own way to expose GPU frequency, for example as a debugfs node. This patch standardize it as a common trace event in upstream linux kernel to help the ecosystem