]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f0de347749aa99c8136093936a5018d7b244984
tree62afb91963279f3355989c34ad948f5fe3cd3320
parent00959014200415cba7801724e7dd4f80f6adb0dd
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