Message ID | 1473728663-14355-1-git-send-email-manasi.d.navare@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> On Mon, Sep 12, 2016 at 6:04 PM, Manasi Navare <manasi.d.navare@intel.com> wrote: > 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> > --- > drivers/gpu/drm/i915/intel_ddi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c > index 8280548..8065a5f 100644 > --- a/drivers/gpu/drm/i915/intel_ddi.c > +++ b/drivers/gpu/drm/i915/intel_ddi.c > @@ -2427,7 +2427,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); > -- > 1.9.1 >
Patch merged to dinq. Thanks for the patch. On Mon, Sep 12, 2016 at 10:02 PM, Rodrigo Vivi <rodrigo.vivi@gmail.com> wrote: > Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> > > On Mon, Sep 12, 2016 at 6:04 PM, Manasi Navare > <manasi.d.navare@intel.com> wrote: >> 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> >> --- >> drivers/gpu/drm/i915/intel_ddi.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c >> index 8280548..8065a5f 100644 >> --- a/drivers/gpu/drm/i915/intel_ddi.c >> +++ b/drivers/gpu/drm/i915/intel_ddi.c >> @@ -2427,7 +2427,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); >> -- >> 1.9.1 >> > > > > -- > Rodrigo Vivi > Blog: http://blog.vivi.eng.br
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index 8280548..8065a5f 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -2427,7 +2427,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);
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> --- drivers/gpu/drm/i915/intel_ddi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)