Re: [Intel-gfx] [RFC PATCH 04/20] drm/i915: Transform context WAs into static tables

2017-11-06 Thread Oscar Mateo
On 11/06/2017 03:59 AM, Joonas Lahtinen wrote: On Fri, 2017-11-03 at 11:09 -0700, Oscar Mateo wrote: This is for WAs that need to touch registers that get saved/restored together with the logical context. The idea is that WAs are "pretty" static, so a table is more declarative than a programma

Re: [Intel-gfx] [RFC PATCH 04/20] drm/i915: Transform context WAs into static tables

2017-11-06 Thread Joonas Lahtinen
On Fri, 2017-11-03 at 11:09 -0700, Oscar Mateo wrote: > This is for WAs that need to touch registers that get saved/restored > together with the logical context. The idea is that WAs are "pretty" > static, so a table is more declarative than a programmatic approah. > Note however that some amount i

[Intel-gfx] [RFC PATCH 04/20] drm/i915: Transform context WAs into static tables

2017-11-03 Thread Oscar Mateo
This is for WAs that need to touch registers that get saved/restored together with the logical context. The idea is that WAs are "pretty" static, so a table is more declarative than a programmatic approah. Note however that some amount is caching is needed for those things that are dynamic (e.g. th