[Intel-gfx] [PATCH v2 05/17] drm/i915: Move load time init of clock gating hooks earlier

Imre Deak imre.deak at intel.com
Fri Mar 11 20:12:39 UTC 2016


On Fri, 2016-03-11 at 19:57 +0000, Chris Wilson wrote:
> On Fri, Mar 11, 2016 at 06:31:30PM +0200, Imre Deak wrote:
> > +	else if (IS_G4X(dev_priv))
> > +		dev_priv->display.init_clock_gating =
> > g4x_init_clock_gating;
> > +	else if (IS_CRESTLINE(dev_priv))
> > +		dev_priv->display.init_clock_gating =
> > crestline_init_clock_gating;
> > +	else if (IS_BROADWATER(dev_priv))
> > +		dev_priv->display.init_clock_gating =
> > broadwater_init_clock_gating;
> > +	else if (IS_GEN4(dev_priv))
> > +		dev_priv->display.init_clock_gating =
> > nop_init_clock_gating;
> 
> G4X || CRESTLINE || BROADWATER should cover all of GEN4.

Yep, I missed this. Will remove the GEN4 check.

> -Chris
> 


More information about the Intel-gfx mailing list