[Intel-gfx] [PATCH v2 1/7] drm/i915: remove unused ADLS_REVID_* macros

Lucas De Marchi lucas.demarchi at intel.com
Wed Feb 24 01:47:16 UTC 2021


On Tue, Feb 23, 2021 at 05:35:06PM +0200, Jani Nikula wrote:
>It's the adls_revid_step_tbl array indexes that matter.
>
>Signed-off-by: Jani Nikula <jani.nikula at intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi
>---
> drivers/gpu/drm/i915/i915_drv.h | 6 ------
> 1 file changed, 6 deletions(-)
>
>diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
>index f8413b3b9da8..4b457a3c658f 100644
>--- a/drivers/gpu/drm/i915/i915_drv.h
>+++ b/drivers/gpu/drm/i915/i915_drv.h
>@@ -1587,12 +1587,6 @@ tgl_stepping_get(struct drm_i915_private *dev_priv)
> #define IS_DG1_REVID(p, since, until) \
> 	(IS_DG1(p) && IS_REVID(p, since, until))
>
>-#define ADLS_REVID_A0		0x0
>-#define ADLS_REVID_A2		0x1
>-#define ADLS_REVID_B0		0x4
>-#define ADLS_REVID_G0		0x8
>-#define ADLS_REVID_C0		0xC /*Same as H0 ADLS SOC stepping*/
>-
> #define IS_ADLS_DISP_STEPPING(p, since, until) \
> 	(IS_ALDERLAKE_S(p) && \
> 	 tgl_stepping_get(p)->disp_stepping >= (since) && \
>-- 
>2.20.1
>


More information about the Intel-gfx mailing list