[Intel-gfx] [PATCH v2 1/2] drm/i915: Extract GT render power state management

Chris Wilson chris at chris-wilson.co.uk
Wed Oct 23 12:36:21 UTC 2019


Quoting Andi Shyti (2019-10-23 13:32:16)
> > >          * maximum clocks following a vblank miss (see do_rps_boost()).
> > >          */
> > >         if (!intel_state->rps_interactive) {
> > > -               intel_rps_mark_interactive(dev_priv, true);
> > > +               intel_rps_mark_interactive(&dev_priv->gt.rps, true);
> > 
> > I wonder if we can do &plane->vma->vm->gt->rps
> 
> agree, looks ugly, I could fix it by extracting rps. Shall I do
> it now in a v3 or after the patch gets merged? As you can gues
> I'd prefer doing after the patch is merged :)

Mostly thinking aloud. I plan on soak testing this first; something did
not look quite right around pm_enable/pm_disable vs gt_resume/gt_suspend
(i.e. did not match my current expectations of where to push the gt init
next).
-Chris


More information about the Intel-gfx mailing list