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

Chris Wilson chris at chris-wilson.co.uk
Fri Mar 11 19:57:47 UTC 2016


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.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list