summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2013-12-17 13:36:36 -0200
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2014-02-26 18:42:32 -0300
commite63216a4980e270e096a712a3410dd4487b0a910 (patch)
tree936d16b666b60102565a744a11af6f43f5b52def
parent2a7e46e6021133a2443ed76d35602fa08a723633 (diff)
drm/i915: rename modeset_update_power_wells
To modeset_update_crtc_power_domains, since this function is responsible for updating all the power domains of all CRTCs after a modeset. In the future we should also run this function on all platforms, not just Haswell. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 1983644c1555..879423baecb0 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -6847,7 +6847,7 @@ void intel_display_set_init_power(struct drm_device *dev, bool enable)
dev_priv->power_domains.init_power_on = enable;
}
-static void modeset_update_power_wells(struct drm_device *dev)
+static void modeset_update_crtc_power_domains(struct drm_device *dev)
{
unsigned long pipe_domains[I915_MAX_PIPES] = { 0, };
struct intel_crtc *crtc;
@@ -6884,7 +6884,7 @@ static void modeset_update_power_wells(struct drm_device *dev)
static void haswell_modeset_global_resources(struct drm_device *dev)
{
- modeset_update_power_wells(dev);
+ modeset_update_crtc_power_domains(dev);
hsw_update_package_c8(dev);
}