[Intel-gfx] [PATCH] drm/i915: Make use of 'engine->uncore'

Chris Wilson chris at chris-wilson.co.uk
Fri Apr 5 18:50:33 UTC 2019


Quoting Daniele Ceraolo Spurio (2019-04-05 19:13:23)
> 
> 
> On 4/5/19 11:01 AM, Paulo Zanoni wrote:
> > Em sex, 2019-04-05 às 17:34 +0100, Chris Wilson escreveu:
> >> The engine has a direct link to the intel_uncore mmio handler, so make
> >> use of it rather than going indirectly via &engine->i915->uncore.
> > 
> > Does it make sense to patch the uncore assignment in gen11_lock_sfc()
> > too in this file?
> > 
> 
> and if we save the SFC availability to engine->flags at engine init time 
> we can also ditch dev_priv entirely in gen11_lock_sfc

I was thinking along the same lines, but my crystal ball is foggy.
-Chris


More information about the Intel-gfx mailing list