]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: remove unused ADLS_REVID_* macros
authorJani Nikula <jani.nikula@intel.com>
Mon, 8 Mar 2021 13:56:38 +0000 (15:56 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 17 Mar 2021 16:54:42 +0000 (18:54 +0200)
It's the adls_revid_step_tbl array indexes that matter.

Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/996274d28cf939186a748b4714872b1c31b23adb.1615211711.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h

index 0c43e44d1722971556732786d167405b5c6872be..9a890bcea2acda70d4bd2c9aebe40980db5e10ac 100644 (file)
@@ -1583,12 +1583,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) && \