]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/cnl: use ranges for voltage level lookup
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 10 Jun 2019 21:48:34 +0000 (14:48 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 11 Jun 2019 19:41:41 +0000 (12:41 -0700)
commit63b1700b40d63a1369c0bc756d579bc242c658d7
tree47ce861cc30fa73d2fe85be2d7df07b51257e4c4
parent4f338ac0b2fa59ef0c10cb828a82922e1c39aa64
drm/i915/cnl: use ranges for voltage level lookup

Like was done for ICL, let's convert the voltage level lookup to use
frequency ranges rather than individual frequencies. For deciding the
voltage, the individual value doesn't really matter.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190610214834.9789-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_cdclk.c