[Intel-gfx] [PATCH 1/2] drm/i915/bdw: Apply workarounds using the golden render state

Chris Wilson chris at chris-wilson.co.uk
Wed Aug 20 16:24:11 CEST 2014


On Wed, Aug 20, 2014 at 03:19:17PM +0100, Arun Siluvery wrote:
> Workarounds for bdw are currently applied in init_clock_gating() but they
> are lost following a gpu reset. Some of the WA registers are part of register
> state context and they are restored with every context switch so initializing
> them in golden render state ensures that they are applied even when we start
> with an uninitialized context or during hw initlialization followed by a reset.
> 
> v2: Add comments corresponding to WAs in golden render state (Chris).
> 
> The generation of render state is not a straighforward process, it would
> be ideal to augment WA values from during the setup state as opposed to
> using a tool but that would be a follow up patch.

So far we have put those wa into the render ring init.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list