Skip to content

Commit

Permalink
drm/i915/skl: Retrieve the frequency limits
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Damien Lespiau authored and Daniel Vetter committed Jan 27, 2015
1 parent b6fef0e commit ba1c554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/intel_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ba1c554

Please sign in to comment.