[Intel-gfx] [PATCH 2/2] drm/i915: take a power domain reference while checking the HDMI live status

Imre Deak imre.deak at intel.com
Fri Nov 20 01:54:12 PST 2015


On Thu, 2015-11-19 at 21:17 +0200, Ville Syrjälä wrote:
> On Thu, Nov 19, 2015 at 09:13:04PM +0200, Imre Deak wrote:
> > On Thu, 2015-11-19 at 21:08 +0200, Ville Syrjälä wrote:
> > > On Thu, Nov 19, 2015 at 08:55:01PM +0200, Imre Deak wrote:
> > > > There are platforms that don't need the full GMBUS power domain
> > > > (PCH, BXT) while others do (VLV/CHV). For optimizing this we
> > > > would need to add a new power domain, but it's not clear how
> > > > much
> > > > we
> > > > would benefit given the short time we hold the reference. So
> > > > for
> > > > now
> > > > let's keep things simple.
> > > 
> > > Actually on PCH platforms the gmbus domain means just just an
> > > rpm ref since the gmbus hw lives in the PCH.
> > 
> > Ah right.
> > 
> > > And IIRC on BXT gmbus lives in pw0 so same deal really.
> > 
> > It's in PW2 there. I'll fix the commit message.
> 
> Doh. Not sure where I got the PW0 zero idea. Maybe I confused gmbus
> with hpd. But yes, you're right about that.
> 
> > 
> > > And for vlv/chv we should just need the disp2d well, which
> > > is exactly what we get with the gmbus domain.
> > > 
> > > So I don't think there's actually anything to optimize here
> > > with current platforms.
> > > 
> > > Both patches look fine to me:
> > > Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Pushed 1/2 and 2/2 with the fixed commit message to dinq. Thanks for
the review.

--Imre


More information about the Intel-gfx mailing list