Message ID | 1381933553-19529-5-git-send-email-imre.deak@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, 16 Oct 2013 17:25:51 +0300 Imre Deak <imre.deak@intel.com> wrote: > We'll need the same functionality for other HW generations. The support > for these will be added by upcoming patches. > > Signed-off-by: Imre Deak <imre.deak@intel.com> > --- > drivers/gpu/drm/i915/intel_display.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > index b334c50..8e734f2 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -6561,7 +6561,7 @@ static void hsw_package_c8_gpu_busy(struct drm_i915_private *dev_priv) > } > } > > -static void haswell_modeset_global_resources(struct drm_device *dev) > +static void modeset_update_power_wells(struct drm_device *dev) > { > bool enable = false; > struct intel_crtc *crtc; > @@ -6576,7 +6576,11 @@ static void haswell_modeset_global_resources(struct drm_device *dev) > } > > intel_set_power_well(dev, enable); > +} > > +static void haswell_modeset_global_resources(struct drm_device *dev) > +{ > + modeset_update_power_wells(dev); > hsw_update_package_c8(dev); > } > Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index b334c50..8e734f2 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -6561,7 +6561,7 @@ static void hsw_package_c8_gpu_busy(struct drm_i915_private *dev_priv) } } -static void haswell_modeset_global_resources(struct drm_device *dev) +static void modeset_update_power_wells(struct drm_device *dev) { bool enable = false; struct intel_crtc *crtc; @@ -6576,7 +6576,11 @@ static void haswell_modeset_global_resources(struct drm_device *dev) } intel_set_power_well(dev, enable); +} +static void haswell_modeset_global_resources(struct drm_device *dev) +{ + modeset_update_power_wells(dev); hsw_update_package_c8(dev); }
We'll need the same functionality for other HW generations. The support for these will be added by upcoming patches. Signed-off-by: Imre Deak <imre.deak@intel.com> --- drivers/gpu/drm/i915/intel_display.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)