Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 2/2] i915_pm_freq_api: Add some basic SLPC igt tests

2023-04-03 Thread Belgaumkar, Vinay
On 4/3/2023 8:36 AM, Dixit, Ashutosh wrote: On Mon, 03 Apr 2023 08:23:45 -0700, Belgaumkar, Vinay wrote: On 3/31/2023 4:56 PM, Dixit, Ashutosh wrote: On Mon, 27 Mar 2023 19:00:28 -0700, Vinay Belgaumkar wrote: Hi Vinay, +/* + * Too many intermediate components and steps before freq is

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 2/2] i915_pm_freq_api: Add some basic SLPC igt tests

2023-04-03 Thread Dixit, Ashutosh
On Mon, 03 Apr 2023 08:23:45 -0700, Belgaumkar, Vinay wrote: > > > On 3/31/2023 4:56 PM, Dixit, Ashutosh wrote: > > On Mon, 27 Mar 2023 19:00:28 -0700, Vinay Belgaumkar wrote: > > Hi Vinay, > > > >> +/* > >> + * Too many intermediate components and steps before freq is adjusted > >> + * Specially

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 2/2] i915_pm_freq_api: Add some basic SLPC igt tests

2023-04-03 Thread Belgaumkar, Vinay
On 3/31/2023 4:56 PM, Dixit, Ashutosh wrote: On Mon, 27 Mar 2023 19:00:28 -0700, Vinay Belgaumkar wrote: Hi Vinay, +/* + * Too many intermediate components and steps before freq is adjusted + * Specially if workload is under execution, so let's wait 100 ms. + */ +#define ACT_FREQ_LATENCY_US

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 2/2] i915_pm_freq_api: Add some basic SLPC igt tests

2023-03-31 Thread Dixit, Ashutosh
On Mon, 27 Mar 2023 19:00:28 -0700, Vinay Belgaumkar wrote: > Hi Vinay, > +/* > + * Too many intermediate components and steps before freq is adjusted > + * Specially if workload is under execution, so let's wait 100 ms. > + */ > +#define ACT_FREQ_LATENCY_US 10 > + > +static uint32_t