drm/i915: rename intel_power_domains_resume to *_sync_hw
authorImre Deak <imre.deak@intel.com>
Wed, 4 Nov 2015 17:24:13 +0000 (19:24 +0200)
committerImre Deak <imre.deak@intel.com>
Tue, 17 Nov 2015 18:44:43 +0000 (20:44 +0200)
Give a more proper name to this function.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Patrik Jakobsson <patrik.jakobsson@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446657859-9598-5-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_runtime_pm.c

index 8546f2c5eee81d6437c94c041f0a81281a1b9d20..3045e8b6ee00ca760cc38b33567ce65cb9a72480 100644 (file)
@@ -1888,7 +1888,7 @@ void intel_power_domains_fini(struct drm_i915_private *dev_priv)
        intel_display_set_init_power(dev_priv, true);
 }
 
-static void intel_power_domains_resume(struct drm_i915_private *dev_priv)
+static void intel_power_domains_sync_hw(struct drm_i915_private *dev_priv)
 {
        struct i915_power_domains *power_domains = &dev_priv->power_domains;
        struct i915_power_well *power_well;
@@ -2044,7 +2044,7 @@ void intel_power_domains_init_hw(struct drm_i915_private *dev_priv)
 
        /* For now, we need the power well to be always enabled. */
        intel_display_set_init_power(dev_priv, true);
-       intel_power_domains_resume(dev_priv);
+       intel_power_domains_sync_hw(dev_priv);
        power_domains->initializing = false;
 }