OSDN Git Service

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)
commit20fd2ab7be40658ded75f8a49cf649845c1e3572
treef8eb30cb2752dfe9c4ba82401cd0b7ce692f22b2
parent7a61a6dec3dfb9f2e8c39a337580a3c3036c5cdf
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