Re: [Intel-gfx] [PATCH] drm/i915/bdw: Initialize workarounds in render ring init fn.

2014-08-25 Thread Daniel Vetter
On Fri, Aug 15, 2014 at 04:26:26PM -0700, Michael H. Nguyen wrote: > Also, should this be defined in a userspace accessible header? I see this > defined again locally in the IGT test. It's a debugfs interface, i.e. no real ABI guarantees. And so better not to expose this in any of the uapi header

Re: [Intel-gfx] [PATCH] drm/i915/bdw: Initialize workarounds in render ring init fn.

2014-08-15 Thread Michael H. Nguyen
On 08/14/2014 09:51 AM, arun.siluv...@linux.intel.com wrote: From: Arun Siluvery The workarounds at the moment are initialized in init_clock_gating() but they are lost during reset, suspend/resume; this patch moves workarounds that are part of register state context to render ring init fn oth

[Intel-gfx] [PATCH] drm/i915/bdw: Initialize workarounds in render ring init fn.

2014-08-14 Thread arun . siluvery
From: Arun Siluvery The workarounds at the moment are initialized in init_clock_gating() but they are lost during reset, suspend/resume; this patch moves workarounds that are part of register state context to render ring init fn otherwise default context ends up with incorrect values as they don'