[Intel-gfx] [PATCH] drm/i915/adl-n: Differentiate ADLP and ADLN steppings
Surendrakumar Upadhyay, TejaskumarX
tejaskumarx.surendrakumar.upadhyay at intel.com
Thu Apr 14 13:57:20 UTC 2022
Hello,
Can anyone review please? Pre-merge failure is not related to the patch.
Thanks,
Tejas
> -----Original Message-----
> From: Surendrakumar Upadhyay, TejaskumarX
> <tejaskumarx.surendrakumar.upadhyay at intel.com>
> Sent: 13 April 2022 16:28
> To: intel-gfx at lists.freedesktop.org
> Cc: Surendrakumar Upadhyay, TejaskumarX
> <tejaskumarx.surendrakumar.upadhyay at intel.com>
> Subject: [PATCH] drm/i915/adl-n: Differentiate ADLP and ADLN steppings
>
> ADL-N and ADL-P stepping are different, thus we need to add check for ADL-
> N in IS_ADLP_DISPLAY_STEP().
>
> Signed-off-by: Tejas Upadhyay
> <tejaskumarx.surendrakumar.upadhyay at intel.com>
> ---
> 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 9274417cd87a..51f2a14b0dca
> 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -1167,7 +1167,7 @@ IS_SUBPLATFORM(const struct drm_i915_private
> *i915,
> IS_GRAPHICS_STEP(__i915, since, until))
>
> #define IS_ADLP_DISPLAY_STEP(__i915, since, until) \
> - (IS_ALDERLAKE_P(__i915) && \
> + (IS_ALDERLAKE_P(__i915) && !IS_ADLP_N(__i915) &&\
> IS_DISPLAY_STEP(__i915, since, until))
>
> #define IS_ADLP_GRAPHICS_STEP(__i915, since, until) \
> --
> 2.34.1
More information about the Intel-gfx
mailing list