]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: use ranges for voltage level lookup
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 10 Jun 2019 21:48:47 +0000 (14:48 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 11 Jun 2019 19:41:45 +0000 (12:41 -0700)
commit445d2af51d7d33a8fc1008b23c2501bb95a4088e
tree6149f9d6d1ae565393bc70ad43448e75cbcf0451
parentef2fa12c3cabcb64dd6f6b1e2c4bfe4071680400
drm/i915/skl: 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/20190610214847.9865-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_cdclk.c