summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/vlv_suspend.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2023-04-03 15:24:27 +0300
committerJani Nikula <jani.nikula@intel.com>2023-04-05 19:54:13 +0300
commitd670c78ea7564f9baf915c8e1dc5898a9e6c360b (patch)
treefa0e8a35385381bc1cfef587e84ccbe077d78aad /drivers/gpu/drm/i915/vlv_suspend.c
parent69e6dd149212cdd681201352a79e6634665004e8 (diff)
drm/i915: rename intel_pm.[ch] to intel_clock_gating.[ch]
Observe that intel_pm.[ch] is now purely about clock gating, so rename them to intel_clock_gating.[ch]. Rename the functions to intel_clock_gating_*() to follow coding conventions. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230403122428.3526263-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/vlv_suspend.c')
-rw-r--r--drivers/gpu/drm/i915/vlv_suspend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/vlv_suspend.c b/drivers/gpu/drm/i915/vlv_suspend.c
index 02e63ed77f60..94595dde2b96 100644
--- a/drivers/gpu/drm/i915/vlv_suspend.c
+++ b/drivers/gpu/drm/i915/vlv_suspend.c
@@ -12,7 +12,7 @@
#include "i915_reg.h"
#include "i915_trace.h"
#include "i915_utils.h"
-#include "intel_pm.h"
+#include "intel_clock_gating.h"
#include "vlv_suspend.h"
#include "gt/intel_gt_regs.h"
@@ -451,7 +451,7 @@ int vlv_resume_prepare(struct drm_i915_private *dev_priv, bool rpm_resume)
vlv_check_no_gt_access(dev_priv);
if (rpm_resume)
- intel_init_clock_gating(dev_priv);
+ intel_clock_gating_init(dev_priv);
return ret;
}