Re: [Intel-gfx] [RFC] drm/i915/bdw: Apply workarounds to the golden render state

2014-08-08 Thread Siluvery, Arun
On 08/08/2014 13:20, Ville Syrjälä wrote: On Fri, Aug 08, 2014 at 10:52:57AM +0100, arun.siluv...@linux.intel.com wrote: From: Arun Siluvery Workarounds for bdw are currently applied in init_clock_gating() but they are lost following a gpu reset. Some of the registers are part of register stat

Re: [Intel-gfx] [RFC] drm/i915/bdw: Apply workarounds to the golden render state

2014-08-08 Thread Ville Syrjälä
On Fri, Aug 08, 2014 at 10:52:57AM +0100, arun.siluv...@linux.intel.com wrote: > From: Arun Siluvery > > Workarounds for bdw are currently applied in init_clock_gating() but they > are lost following a gpu reset. Some of the registers are part of register > state context and they are restored wit

Re: [Intel-gfx] [RFC] drm/i915/bdw: Apply workarounds to the golden render state

2014-08-08 Thread Chris Wilson
On Fri, Aug 08, 2014 at 11:34:07AM +0100, Siluvery, Arun wrote: > On 08/08/2014 10:57, Chris Wilson wrote: > >On Fri, Aug 08, 2014 at 10:52:57AM +0100, arun.siluv...@linux.intel.com > >wrote: > >>From: Arun Siluvery > >> > >>Workarounds for bdw are currently applied in init_clock_gating() but the

Re: [Intel-gfx] [RFC] drm/i915/bdw: Apply workarounds to the golden render state

2014-08-08 Thread Siluvery, Arun
On 08/08/2014 10:57, Chris Wilson wrote: On Fri, Aug 08, 2014 at 10:52:57AM +0100, arun.siluv...@linux.intel.com wrote: From: Arun Siluvery Workarounds for bdw are currently applied in init_clock_gating() but they are lost following a gpu reset. Some of the registers are part of register state

Re: [Intel-gfx] [RFC] drm/i915/bdw: Apply workarounds to the golden render state

2014-08-08 Thread Chris Wilson
On Fri, Aug 08, 2014 at 10:52:57AM +0100, arun.siluv...@linux.intel.com wrote: > From: Arun Siluvery > > Workarounds for bdw are currently applied in init_clock_gating() but they > are lost following a gpu reset. Some of the registers are part of register > state context and they are restored wit

[Intel-gfx] [RFC] drm/i915/bdw: Apply workarounds to the golden render state

2014-08-08 Thread arun . siluvery
From: Arun Siluvery Workarounds for bdw are currently applied in init_clock_gating() but they are lost following a gpu reset. Some of the registers are part of register state context and they are restored with every context switch so initializing WAs in golden render state ensures that they are a