Message ID | 20210812054806.22745-6-animesh.manna@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Fix in max source calculation for dp/edp | expand |
On Thu, Aug 12, 2021 at 11:18:06AM +0530, Animesh Manna wrote: > Added support for platforms having DISPLAY13 like DG2, ADL_P and ADL_S. > > Bspec: 53597, 53720, 53657, 54034, 49185, 55409 > > Cc: Jani Nikula <jani.nikula@intel.com> > Cc: Imre Deak <imre.deak@intel.com> > Signed-off-by: Animesh Manna <animesh.manna@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com> > --- > drivers/gpu/drm/i915/display/intel_dp.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c > index e8d2d381c587..fcb6b0cd9788 100644 > --- a/drivers/gpu/drm/i915/display/intel_dp.c > +++ b/drivers/gpu/drm/i915/display/intel_dp.c > @@ -302,7 +302,8 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp) > if (DISPLAY_VER(dev_priv) >= 11) { > source_rates = icl_rates; > size = ARRAY_SIZE(icl_rates); > - if (IS_DG1(dev_priv) || IS_ROCKETLAKE(dev_priv)) > + if (DISPLAY_VER(dev_priv) >= 13 || IS_ALDERLAKE_S(dev_priv) || > + IS_DG1(dev_priv) || IS_ROCKETLAKE(dev_priv)) > max_rate = dg1_max_source_rate(intel_dp); > else if (IS_JSL_EHL(dev_priv)) > max_rate = ehl_max_source_rate(intel_dp); > -- > 2.29.0 >
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index e8d2d381c587..fcb6b0cd9788 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -302,7 +302,8 @@ intel_dp_set_source_rates(struct intel_dp *intel_dp) if (DISPLAY_VER(dev_priv) >= 11) { source_rates = icl_rates; size = ARRAY_SIZE(icl_rates); - if (IS_DG1(dev_priv) || IS_ROCKETLAKE(dev_priv)) + if (DISPLAY_VER(dev_priv) >= 13 || IS_ALDERLAKE_S(dev_priv) || + IS_DG1(dev_priv) || IS_ROCKETLAKE(dev_priv)) max_rate = dg1_max_source_rate(intel_dp); else if (IS_JSL_EHL(dev_priv)) max_rate = ehl_max_source_rate(intel_dp);
Added support for platforms having DISPLAY13 like DG2, ADL_P and ADL_S. Bspec: 53597, 53720, 53657, 54034, 49185, 55409 Cc: Jani Nikula <jani.nikula@intel.com> Cc: Imre Deak <imre.deak@intel.com> Signed-off-by: Animesh Manna <animesh.manna@intel.com> --- drivers/gpu/drm/i915/display/intel_dp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)