]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: remove dpll from clk_sel
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 25 Jan 2019 22:24:43 +0000 (14:24 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 29 Jan 2019 22:35:06 +0000 (14:35 -0800)
commit54e4b93762f5ba0bf5821715c8ce389f455d7c88
treef8eb30cb2752dfe9c4ba82401cd0b7ce692f22b2
parent78cc7681e89dbddce77baa254066ce7576b3c081
drm/i915/icl: remove dpll from clk_sel

We should not pass DPLL_ID_ICL_DPLL0 or DPLL_ID_ICL_DPLL1 to this
function because the path is only taken for non-combophy ports. Let the
warning trigger if improper value is given.

While at it, rename the function to match the register name we are
trying to program.

v2: fix typo in comment

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190125222444.19926-4-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_ddi.c