[Intel-gfx] [PATCH v2 0/7] drm/i915: refactor KBL/TGL/ADLS stepping scheme
Jani Nikula
jani.nikula at intel.com
Tue Feb 23 15:35:05 UTC 2021
This cleans up the split display and gt stepping schemes in
KBL/TGL/ADLS, and makes it easier to extend for future platforms.
We could switch legacy platforms over too, but that would require arrays
to convert to the symbolic step enums, for no real benefit, but with the
drawback of having to maintain the arrays and potentially failing to
handle undefined revids in revid ranges properly.
Jani Nikula (7):
drm/i915: remove unused ADLS_REVID_* macros
drm/i915: split out stepping info to a new file
drm/i915: add new helpers for accessing stepping info
drm/i915: switch KBL to the new stepping scheme
drm/i915: switch TGL and ADL to the new stepping scheme
drm/i915: rename DISP_STEPPING->DISPLAY_STEP and GT_STEPPING->GT_STEP
drm/i915: rename disp_stepping->display_step and gt_stepping->gt_step
drivers/gpu/drm/i915/Makefile | 1 +
.../drm/i915/display/intel_display_power.c | 2 +-
drivers/gpu/drm/i915/display/intel_psr.c | 4 +-
.../drm/i915/display/skl_universal_plane.c | 2 +-
drivers/gpu/drm/i915/gt/gen8_engine_cs.c | 2 +-
drivers/gpu/drm/i915/gt/intel_workarounds.c | 55 ++------
drivers/gpu/drm/i915/i915_drv.c | 3 +-
drivers/gpu/drm/i915/i915_drv.h | 132 +++++-------------
drivers/gpu/drm/i915/intel_device_info.c | 2 +-
drivers/gpu/drm/i915/intel_device_info.h | 4 +
drivers/gpu/drm/i915/intel_pm.c | 6 +-
drivers/gpu/drm/i915/intel_stepping.c | 106 ++++++++++++++
drivers/gpu/drm/i915/intel_stepping.h | 40 ++++++
13 files changed, 206 insertions(+), 153 deletions(-)
create mode 100644 drivers/gpu/drm/i915/intel_stepping.c
create mode 100644 drivers/gpu/drm/i915/intel_stepping.h
--
2.20.1
More information about the Intel-gfx
mailing list