From: Navare, Manasi D Date: Tue, 13 Sep 2016 01:04:23 +0000 (-0700) Subject: drm/i915: Add support for Kabylake to function obtaining shared PLL X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2686ebfdf7f9af6bec5b173b629aff7370b21f17;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/i915: Add support for Kabylake to function obtaining shared PLL This adds support for KBL in the new function added in commit ID: commit that returns a shared pll in case of DDI platforms. Signed-off-by: Manasi Navare Reviewed-by: Rodrigo Vivi Signed-off-by: Rodrigo Vivi Link: http://patchwork.freedesktop.org/patch/msgid/1473728663-14355-1-git-send-email-manasi.d.navare@intel.com --- diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index 25e7973663f7..15d47c87def6 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -2424,7 +2424,7 @@ intel_ddi_get_link_dpll(struct intel_dp *intel_dp, int clock) pll->config = tmp_pll_config; return NULL; } - } else if (IS_SKYLAKE(dev_priv)) { + } else if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) { pll = skl_find_link_pll(dev_priv, clock); } else if (IS_HASWELL(dev_priv) || IS_BROADWELL(dev_priv)) { pll = hsw_ddi_dp_get_dpll(encoder, clock);