]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Updated the gen6_init_rps_frequencies function
authorAkash Goel <akash.goel@intel.com>
Fri, 6 Mar 2015 05:37:16 +0000 (11:07 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:30:23 +0000 (22:30 +0100)
commita0f7389d09f472ceb9f5e5aea1c0858ec50450e9
treece54c7c5aade98cd12bfe094492f7ce01da678e0
parent1b6f9ceedfb00201d89a8c1f0ddfeb2ccce1a48c
drm/i915/skl: Updated the gen6_init_rps_frequencies function

On SKL the frequency is specified in units of 16.66 MHZ, barring the
RP_STATE_CAP(0x5998) register, which still reports frequency in units
of 50 MHZ. So an extra conversion is required in gen6_init_rps_frequencies
function for SKL, to store the frequency values as per the actual hardware unit.

v2: Corrected the conversion from 50 to 16.66 MHZ (Ville)

Signed-off-by: Akash Goel <akash.goel@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c