提交 47c2bd97 编写于 作者: P Paulo Zanoni 提交者: Daniel Vetter

drm/i915: rename gen8_init_clock_gating to broadwell_init_clock_gating

Because CHV uses cherryview_init_clock_gating instead of
gen8_init_clock_gating.
Signed-off-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: NDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 89d6b2b8
...@@ -5514,7 +5514,7 @@ static void lpt_suspend_hw(struct drm_device *dev) ...@@ -5514,7 +5514,7 @@ static void lpt_suspend_hw(struct drm_device *dev)
} }
} }
static void gen8_init_clock_gating(struct drm_device *dev) static void broadwell_init_clock_gating(struct drm_device *dev)
{ {
struct drm_i915_private *dev_priv = dev->dev_private; struct drm_i915_private *dev_priv = dev->dev_private;
enum pipe pipe; enum pipe pipe;
...@@ -7262,7 +7262,7 @@ void intel_init_pm(struct drm_device *dev) ...@@ -7262,7 +7262,7 @@ void intel_init_pm(struct drm_device *dev)
else if (IS_HASWELL(dev)) else if (IS_HASWELL(dev))
dev_priv->display.init_clock_gating = haswell_init_clock_gating; dev_priv->display.init_clock_gating = haswell_init_clock_gating;
else if (INTEL_INFO(dev)->gen == 8) else if (INTEL_INFO(dev)->gen == 8)
dev_priv->display.init_clock_gating = gen8_init_clock_gating; dev_priv->display.init_clock_gating = broadwell_init_clock_gating;
} else if (IS_CHERRYVIEW(dev)) { } else if (IS_CHERRYVIEW(dev)) {
dev_priv->display.update_wm = cherryview_update_wm; dev_priv->display.update_wm = cherryview_update_wm;
dev_priv->display.update_sprite_wm = valleyview_update_sprite_wm; dev_priv->display.update_sprite_wm = valleyview_update_sprite_wm;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册