[PATCH v2 12/18][SRU][H] drm/i915: remove unused ADLS_REVID_* macros
chris.chiu at canonical.com
chris.chiu at canonical.com
Wed Jul 21 06:35:24 UTC 2021
From: Jani Nikula <jani.nikula at intel.com>
BugLink: https://bugs.launchpad.net/bugs/1926579
It's the adls_revid_step_tbl array indexes that matter.
Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/996274d28cf939186a748b4714872b1c31b23adb.1615211711.git.jani.nikula@intel.com
(cherry picked from commit 57097276d567818ffca4cde43139f511efc7880b)
Signed-off-by: Chris Chiu <chris.chiu at canonical.com>
---
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 0d228b663608..96b8c5886d20 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1634,12 +1634,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.25.1
More information about the kernel-team
mailing list