]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Add support for Kabylake to function obtaining shared PLL
authorNavare, Manasi D <manasi.d.navare@intel.com>
Tue, 13 Sep 2016 01:04:23 +0000 (18:04 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 13 Sep 2016 05:06:08 +0000 (22:06 -0700)
This adds support for KBL in the new function added in commit ID:
commit <f169660ed4e57a03e6f6ed07fe192dbcb7687a0d> that returns a
shared pll in case of DDI platforms.

Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1473728663-14355-1-git-send-email-manasi.d.navare@intel.com
drivers/gpu/drm/i915/intel_ddi.c

index 25e7973663f7cf31b7be6aac38d2a9ff3c159139..15d47c87def67bf8418684160ad7decabce0db2e 100644 (file)
@@ -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);