diff options
author | Radhakrishna Sripada <radhakrishna.sripada@intel.com> | 2023-01-12 00:55:24 +0100 |
---|---|---|
committer | Radhakrishna Sripada <radhakrishna.sripada@intel.com> | 2023-02-09 20:19:53 +0100 |
commit | 2b9ed318ad1c579df943c1eb07ae1f1c0e5e9d83 (patch) | |
tree | 028b1fafd2e9ffd9497fed72dd8414fb37c3c56b | |
parent | drm/i915/dg2: Drop one PCI ID (diff) | |
download | linux-2b9ed318ad1c579df943c1eb07ae1f1c0e5e9d83.tar.xz linux-2b9ed318ad1c579df943c1eb07ae1f1c0e5e9d83.zip |
drm/i915/mtl: Initialize empty clockgating hooks for MTL
Clock gating hooks to be initialized for MTL are yet to be implemented.
Use a nop till we identify relevant WA's here.
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230111235531.3353815-3-radhakrishna.sripada@intel.com
-rw-r--r-- | drivers/gpu/drm/i915/intel_pm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index e0364c4141b8..eb16c3a27b45 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -4806,7 +4806,9 @@ CG_FUNCS(nop); */ void intel_init_clock_gating_hooks(struct drm_i915_private *dev_priv) { - if (IS_PONTEVECCHIO(dev_priv)) + if (IS_METEORLAKE(dev_priv)) + dev_priv->clock_gating_funcs = &nop_clock_gating_funcs; + else if (IS_PONTEVECCHIO(dev_priv)) dev_priv->clock_gating_funcs = &pvc_clock_gating_funcs; else if (IS_DG2(dev_priv)) dev_priv->clock_gating_funcs = &dg2_clock_gating_funcs; |