On Wed, 30 Mar 2011 14:32:51 -0700
Ben Widawsky <b...@bwidawsk.net> wrote:

> On Wed, Mar 30, 2011 at 02:08:56PM -0700, Jesse Barnes wrote:
> > For debug & testing.
> > 
> > Signed-off-by: Jesse Barnes <jbar...@virtuousgeek.org>
> > ---
> 
> >     I915_WRITE(GEN6_RC_CONTROL,
> > -              GEN6_RC_CTL_RC6p_ENABLE |
> > -              GEN6_RC_CTL_RC6_ENABLE |
> > +              rc6_mask |
> >                GEN6_RC_CTL_EI_MODE(1) |
> >                GEN6_RC_CTL_HW_ENABLE);
> > 
> 
> Do you also need to set GEN6_RC_CTL_RC7_ENABLE if !i915_enable_rc6? I
> don't really know how the hardware works, but I had a similar untested
> patch except I added that bit in the rc6 disable case.

That seems to control LLC way sharing between GT and the CPU; not sure
if switching to an RC7 message is correct or not if RC6 is disabled
though.

-- 
Jesse Barnes, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to