On Tue, Apr 9, 2013 at 5:37 AM, Ville Syrj?l? <ville.syrjala at linux.intel.com > wrote: > On Mon, Apr 08, 2013 at 06:49:44PM -0300, Rodrigo Vivi wrote: > > Display register 46500h bit 23 must be set to 1b for the entire time that > > Frame Buffer Compression is enabled. > > So should we enable it again after FBC is disabled to avoid wasting > power? > I didn't take the opposite direction because it wasn't explicit. I tested to enabled it again after FBC is disabled but I didn't see any difference. So, you suggestion is to enable back anyway? > > > > > Signed-off-by: Rodrigo Vivi <rodrigo.vivi at gmail.com> > > --- > > drivers/gpu/drm/i915/i915_reg.h | 3 +++ > > drivers/gpu/drm/i915/intel_pm.c | 2 ++ > > 2 files changed, 5 insertions(+) > > > > diff --git a/drivers/gpu/drm/i915/i915_reg.h > b/drivers/gpu/drm/i915/i915_reg.h > > index 2340bc2..2ef0292 100644 > > --- a/drivers/gpu/drm/i915/i915_reg.h > > +++ b/drivers/gpu/drm/i915/i915_reg.h > > @@ -863,6 +863,9 @@ > > _HSW_PIPE_SLICE_CHICKEN_1_A, > + \ > > _HSW_PIPE_SLICE_CHICKEN_1_B) > > > > +#define HSW_CLKGATE_DISABLE_PART_1 0x46500 > > +#define HSW_DPFC_GATING_DISABLE (1<<23) > > + > > /* > > * GPIO regs > > */ > > diff --git a/drivers/gpu/drm/i915/intel_pm.c > b/drivers/gpu/drm/i915/intel_pm.c > > index 0628a84..f2ce541 100644 > > --- a/drivers/gpu/drm/i915/intel_pm.c > > +++ b/drivers/gpu/drm/i915/intel_pm.c > > @@ -281,6 +281,8 @@ static void haswell_enable_fbc(struct drm_crtc > *crtc, unsigned long interval) > > /* WaFbcAsynchFlipDisableFbcQueue */ > > I915_WRITE(HSW_PIPE_SLICE_CHICKEN_1(intel_crtc->pipe), > > HSW_BYPASS_FBC_QUEUE); > > + /* WaFbcDisableDpfcClockGating */ > > + I915_WRITE(HSW_CLKGATE_DISABLE_PART_1, HSW_DPFC_GATING_DISABLE); > > > > if (obj->fence_reg != I915_FENCE_REG_NONE) { > > I915_WRITE(SNB_DPFC_CTL_SA, > > -- > > 1.8.1.4 > > > > _______________________________________________ > > Intel-gfx mailing list > > Intel-gfx at lists.freedesktop.org > > http://lists.freedesktop.org/mailman/listinfo/intel-gfx > > -- > Ville Syrj?l? > Intel OTC > -- Rodrigo Vivi Blog: http://blog.vivi.eng.br -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20130409/953c63ba/attachment-0001.html>