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

Chris Wilson chris at chris-wilson.co.uk
Tue Aug 27 14:35:14 UTC 2019


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()
-Chris


More information about the Intel-gfx mailing list