OSDN Git Service

drm/i915: Set GPU freq to idle_freq initially
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Mar 2016 19:43:03 +0000 (21:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Apr 2016 18:17:58 +0000 (21:17 +0300)
commit5fd9f52384935dacfdc4adb5cc3531a40346d475
tree62afb91963279f3355989c34ad948f5fe3cd3320
parentc30fec656d1336a453bd4cb769a7c5e5c577e3b1
drm/i915: Set GPU freq to idle_freq initially

Currently we set the initial GPU frequency to min_freq_softlimit
on gen9, and to efficient_freq on VLV/CHV. On all the other platforms
we set it to idle_freq. Let's use idle_freq across the board to make
sure we don't waste power. This is especially relevant for VLV since
Vnn won't drop to minimum unless the GPU is at the minimum frequency.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1457120584-26080-3-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_pm.c