From: Akash Goel Date: Mon, 29 Jun 2015 09:20:21 +0000 (+0530) Subject: drm/i915/skl: Restrict the ring frequency table programming to SKL X-Git-Tag: MMI-PSA29.97-13-9~7427^2~45^2~1766 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc017fb4d7a3308725afc02af9fd84a171e6e028;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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: Akash Goel Reviewed-by: Rodrigo Vivi Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 135fb974dfff..f2be1cedb52f 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -6219,7 +6219,8 @@ static void intel_gen6_powersave_work(struct work_struct *work) } else if (INTEL_INFO(dev)->gen >= 9) { gen9_enable_rc6(dev); gen9_enable_rps(dev); - __gen6_update_ring_freq(dev); + if (IS_SKYLAKE(dev)) + __gen6_update_ring_freq(dev); } else if (IS_BROADWELL(dev)) { gen8_enable_rps(dev); __gen6_update_ring_freq(dev);