Re: [Intel-gfx] [PATCH] i915: Increase *_latency array size

2021-05-06 Thread Jani Nikula
On Wed, 05 May 2021, Ville Syrjälä wrote: > On Wed, May 05, 2021 at 07:18:30AM -0700, Andi Kleen wrote: >> What do I miss when you say there is no bug? > > We always use dev_priv->wm.skl_latency[] for gen9+. See > {pri,spr,cur}_wm_latency_show(), skl_setup_wm_latency(), etc. Granted, we should pr

Re: [Intel-gfx] [PATCH] i915: Increase *_latency array size

2021-05-05 Thread Ville Syrjälä
On Wed, May 05, 2021 at 07:18:30AM -0700, Andi Kleen wrote: > > > Increase all the latency fields to 8 members, which is enough for SKL. > > > > > > I don't know if they are correctly initialized upto 8, but dev_priv > > > should start out as zero, so presumably they will be zero. > > > > Thanks,