Re: [Intel-gfx] [RFC] Move BDW workarounds to ring init fn

2014-07-30 Thread Ville Syrjälä
On Tue, Jul 29, 2014 at 11:27:55PM +0100, Siluvery, Arun wrote: > On 28/07/2014 18:26, Ville Syrjälä wrote: > > On Mon, Jul 28, 2014 at 05:31:45PM +0100, arun.siluv...@linux.intel.com > > wrote: > >> From: Arun Siluvery > >> > >> This patch moves BDW workarounds from init_clock_gating() to render

Re: [Intel-gfx] [RFC] Move BDW workarounds to ring init fn

2014-07-29 Thread Siluvery, Arun
On 28/07/2014 18:26, Ville Syrjälä wrote: On Mon, Jul 28, 2014 at 05:31:45PM +0100, arun.siluv...@linux.intel.com wrote: From: Arun Siluvery This patch moves BDW workarounds from init_clock_gating() to render ring init fn otherwise they are lost when gpu is reset. In case of execlists, some of

Re: [Intel-gfx] [RFC] Move BDW workarounds to ring init fn

2014-07-28 Thread Ville Syrjälä
On Mon, Jul 28, 2014 at 05:31:45PM +0100, arun.siluv...@linux.intel.com wrote: > From: Arun Siluvery > > This patch moves BDW workarounds from init_clock_gating() to render ring > init fn otherwise they are lost when gpu is reset. > In case of execlists, some of the workarounds modify registers t

[Intel-gfx] [RFC] Move BDW workarounds to ring init fn

2014-07-28 Thread arun . siluvery
From: Arun Siluvery This patch moves BDW workarounds from init_clock_gating() to render ring init fn otherwise they are lost when gpu is reset. In case of execlists, some of the workarounds modify registers that are part of register state context which doesn't get initialized until init_clock_gat