Re: [Intel-gfx] [PATCH 02/62] drm/i915/bdw: Handle forcewake for writes on gen8

2013-11-05 Thread Mika Kuoppala
Ben Widawsky writes: > GEN8 removes the GT FIFO which we've all come to know and love. Instead > it offers a wider range of optimized registers which always keep a > shadowed copy, and are fed to the GPU when it wakes. > > How this is implemented in hardware is still somewhat of a mystery. As > f

Re: [Intel-gfx] [PATCH 02/62] drm/i915/bdw: Handle forcewake for writes on gen8

2013-11-04 Thread Chris Wilson
On Sat, Nov 02, 2013 at 09:07:00PM -0700, Ben Widawsky wrote: > +static bool is_gen8_optimized(struct drm_i915_private *dev_priv, u32 reg) > +{ > + int i; > + for (i = 0; i < ARRAY_SIZE(gen8_optimized_regs); i++) > + if (reg == gen8_optimized_regs[i]) > + ret

[Intel-gfx] [PATCH 02/62] drm/i915/bdw: Handle forcewake for writes on gen8

2013-11-02 Thread Ben Widawsky
GEN8 removes the GT FIFO which we've all come to know and love. Instead it offers a wider range of optimized registers which always keep a shadowed copy, and are fed to the GPU when it wakes. How this is implemented in hardware is still somewhat of a mystery. As far as I can tell, the basic design