[Intel-gfx] [PATCH v2] drm/i915/tgl: Add sysfs interface to control class-of-service

Kumar Valsan, Prathap prathap.kumar.valsan at intel.com
Tue Aug 27 14:59:03 UTC 2019


On Tue, Aug 27, 2019 at 03:35:14PM +0100, Chris Wilson wrote:
> Quoting Kumar Valsan, Prathap (2019-08-27 15:17:51)
> > We want to support this on Gen11 as well, where these registers
> > are context saved and restored and we prime the register values of new contexts
> > from recorded defaults. What could be the correct way to handle this, write to the
> > default object or should ask GPU to re-record after modifying the
> > registers.
> 
> That depends on whether you want to apply to existing or only to new.
> For OA / sseu, we modify the context images so that existing contexts
> are updated to reflect the new defaults, and we update the defaults.
> E.g. gen8_configure_all_contexts()

Applying to the existing contexts as well should be the right
thing to do. Thank you! I will look at the example.

Prathap
> -Chris


More information about the Intel-gfx mailing list