[Intel-gfx] [PATCH 17/29] drm/i915: enable power wells on haswell init
Chris Wilson
chris at chris-wilson.co.uk
Fri Apr 13 23:03:32 CEST 2012
On Fri, 13 Apr 2012 17:08:53 -0300, Eugeni Dodonov <eugeni.dodonov at intel.com> wrote:
> void intel_modeset_init(struct drm_device *dev)
> {
> struct drm_i915_private *dev_priv = dev->dev_private;
> @@ -9652,6 +9680,9 @@ void intel_modeset_init(struct drm_device *dev)
>
> intel_init_quirks(dev);
>
> + if (IS_HASWELL(dev))
> + intel_init_power_wells(dev);
> +
Perform the gen checks in intel_init_power_wells() so that we keep the
initialisation sequence readable.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list