> -----Original Message----- > From: Nikula, Jani <jani.nikula@xxxxxxxxx> > Sent: Wednesday, August 17, 2022 5:50 PM > To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx > Cc: Nikula, Jani <jani.nikula@xxxxxxxxx>; Shankar, Uma <uma.shankar@xxxxxxxxx> > Subject: [PATCH] drm/i915/mtl: Meteorlake and later support DP 2.0 > > Meteorlake and newer platforms support DP 2.0. Reviewed-by: Uma Shankar <uma.shankar@xxxxxxxxx> > Cc: Uma Shankar <uma.shankar@xxxxxxxxx> > Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> > --- > drivers/gpu/drm/i915/i915_drv.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h > index 086bbe8945d6..b4733c5a01da 100644 > --- a/drivers/gpu/drm/i915/i915_drv.h > +++ b/drivers/gpu/drm/i915/i915_drv.h > @@ -1255,7 +1255,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915, > #define HAS_IPS(dev_priv) (IS_HSW_ULT(dev_priv) || > IS_BROADWELL(dev_priv)) > > #define HAS_DP_MST(dev_priv) (INTEL_INFO(dev_priv)->display.has_dp_mst) > -#define HAS_DP20(dev_priv) (IS_DG2(dev_priv)) > +#define HAS_DP20(dev_priv) (IS_DG2(dev_priv) || DISPLAY_VER(dev_priv) >= 14) > > #define HAS_CDCLK_CRAWL(dev_priv) (INTEL_INFO(dev_priv)- > >display.has_cdclk_crawl) > #define HAS_DDI(dev_priv) (INTEL_INFO(dev_priv)->display.has_ddi) > -- > 2.34.1