Merge drm/drm-next into drm-intel-next
[sfrench/cifs-2.6.git] / drivers / gpu / drm / i915 / i915_drv.h
index 52122228222ff5d31bff6a27a04b4d47e8a6ba13..de6a3cd3f46e02c80159f3e928494452f647aa67 100644 (file)
@@ -685,6 +685,10 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,
        (IS_METEORLAKE(__i915) && \
         IS_DISPLAY_STEP(__i915, since, until))
 
+#define IS_MTL_MEDIA_STEP(__i915, since, until) \
+       (IS_METEORLAKE(__i915) && \
+        IS_MEDIA_STEP(__i915, since, until))
+
 /*
  * DG2 hardware steppings are a bit unusual.  The hardware design was forked to
  * create three variants (G10, G11, and G12) which each have distinct