[Intel-gfx] [PATCH 12/21] drm/i915: support Haswell-style force waking

2012-06-28 Thread Eugeni Dodonov
On Haswell, there is a different register for reading force wake ACKs. v2: simplify forcewake dance and therefore the commit message as noticed by Daniel Vetter. Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/i915_drv.c | 10 -- drivers/gpu/drm/i915/i915_reg.h | 1 + 2 files ch

Re: [Intel-gfx] [PATCH 12/21] drm/i915: support Haswell-style force waking

2012-06-28 Thread Daniel Vetter
On Thu, Jun 28, 2012 at 03:55:40PM -0300, Eugeni Dodonov wrote: > On Haswell, there is a different register for reading force wake ACKs, and > all the writes should go into the multi-threaded register, even for the > legacy force wake. > > Also, we have a theorical possibility for the force wake s

[Intel-gfx] [PATCH 12/21] drm/i915: support Haswell-style force waking

2012-06-28 Thread Eugeni Dodonov
On Haswell, there is a different register for reading force wake ACKs, and all the writes should go into the multi-threaded register, even for the legacy force wake. Also, we have a theorical possibility for the force wake sequence to awaken the GT, but return while it hasn't finished bringing up