[PATCH] drm/i915: implement WADPOClockGatingDisable for LPT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 07, 2013 at 02:10:05PM +0100, Damien Lespiau wrote:
> On Wed, Apr 17, 2013 at 06:15:49PM -0300, Paulo Zanoni wrote:
> > From: Paulo Zanoni <paulo.r.zanoni at intel.com>
> > 
> > This should prevent mode set failures on LPT.
> > 
> > Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
> > ---
> >  drivers/gpu/drm/i915/intel_pm.c |    5 +++++
> >  1 file changed, 5 insertions(+)
> > 
> > diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c
> > index 413877d..15ff0ac 100644
> > --- a/drivers/gpu/drm/i915/intel_pm.c
> > +++ b/drivers/gpu/drm/i915/intel_pm.c
> > @@ -3758,6 +3758,11 @@ static void lpt_init_clock_gating(struct drm_device *dev)
> >  		I915_WRITE(SOUTH_DSPCLK_GATE_D,
> >  			   I915_READ(SOUTH_DSPCLK_GATE_D) |
> >  			   PCH_LP_PARTITION_LEVEL_DISABLE);
> > +
> > +	/* WADPOClockGatingDisable */
> > +	I915_WRITE(_TRANSA_CHICKEN1,
> > +		   I915_READ(_TRANSA_CHICKEN1) |
> > +		   TRANS_CHICKEN1_DP0UNIT_GC_DISABLE);
> 
> Don't you need to do that for each pipe? (like the cpt_ version does)?

Also it's DP0 (zero), not DPO.

-- 
Damien


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux