summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_step.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2021-03-26 16:21:35 +0300
committerJani Nikula <jani.nikula@intel.com>2021-03-29 14:56:13 +0300
commit34b7e27b88e546174638d6ec919d378012f731f2 (patch)
treeee1733a14701bc23854b2bf21c3e75c53ff3833e /drivers/gpu/drm/i915/intel_step.h
parentef47b7ab1faa6d32af351690e0bf664f6c6721b8 (diff)
downloadlinux-34b7e27b88e546174638d6ec919d378012f731f2.tar.xz
drm/i915: switch TGL and ADL to the new stepping scheme
This changes the way revids not present in the array are handled: - For gaps in the array, the next present revid is used. - For revids beyond the array, the new STEP_FUTURE is used instead of the last revid in the array. In both cases, we'll get debug logging of what's going on. v2: Rename stepping->step Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/756fe3d75b1e91ef812fc1fd3f70337e9c571d91.1616764798.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_step.h')
-rw-r--r--drivers/gpu/drm/i915/intel_step.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/i915/intel_step.h b/drivers/gpu/drm/i915/intel_step.h
index b29e15f71214..5cc5601794f0 100644
--- a/drivers/gpu/drm/i915/intel_step.h
+++ b/drivers/gpu/drm/i915/intel_step.h
@@ -15,14 +15,6 @@ struct i915_rev_steppings {
u8 disp_stepping;
};
-#define TGL_UY_REVID_STEP_TBL_SIZE 4
-#define TGL_REVID_STEP_TBL_SIZE 2
-#define ADLS_REVID_STEP_TBL_SIZE 13
-
-extern const struct i915_rev_steppings tgl_uy_revid_step_tbl[TGL_UY_REVID_STEP_TBL_SIZE];
-extern const struct i915_rev_steppings tgl_revid_step_tbl[TGL_REVID_STEP_TBL_SIZE];
-extern const struct i915_rev_steppings adls_revid_step_tbl[ADLS_REVID_STEP_TBL_SIZE];
-
/*
* Symbolic steppings that do not match the hardware. These are valid both as gt
* and display steppings as symbolic names.