Commit cc017fb4 authored by Akash Goel's avatar Akash Goel Committed by Daniel Vetter

drm/i915/skl: Restrict the ring frequency table programming to SKL

Ring frequency table programming is not required on BXT. Added separate
checks to enable the programming only for SKL & skip for BXT.

v2: Removed the BXT check from gen6_update_ring_freq function

Issue: VIZ-5144
Signed-off-by: default avatarAkash Goel <akash.goel@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent e4ca0612
...@@ -6219,7 +6219,8 @@ static void intel_gen6_powersave_work(struct work_struct *work) ...@@ -6219,7 +6219,8 @@ static void intel_gen6_powersave_work(struct work_struct *work)
} else if (INTEL_INFO(dev)->gen >= 9) { } else if (INTEL_INFO(dev)->gen >= 9) {
gen9_enable_rc6(dev); gen9_enable_rc6(dev);
gen9_enable_rps(dev); gen9_enable_rps(dev);
__gen6_update_ring_freq(dev); if (IS_SKYLAKE(dev))
__gen6_update_ring_freq(dev);
} else if (IS_BROADWELL(dev)) { } else if (IS_BROADWELL(dev)) {
gen8_enable_rps(dev); gen8_enable_rps(dev);
__gen6_update_ring_freq(dev); __gen6_update_ring_freq(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment