OSDN Git Service

drm/i915/skl: Retrieve the frequency limits
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 16 Jan 2015 18:07:26 +0000 (18:07 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:50:59 +0000 (09:50 +0100)
v2: Use the new function, gen6_init_rps_frequencies() (Damien)

Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> (v1)
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index b221105..6ae8e4d 100644 (file)
@@ -4031,6 +4031,8 @@ static void gen9_enable_rps(struct drm_device *dev)
 
        intel_uncore_forcewake_get(dev_priv, FORCEWAKE_ALL);
 
+       gen6_init_rps_frequencies(dev);
+
        I915_WRITE(GEN6_RPNSWREQ, 0xc800000);
        I915_WRITE(GEN6_RC_VIDEO_FREQ, 0xc800000);