All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH v2 0/7] drm/i915: refactor KBL/TGL/ADLS stepping scheme
@ 2021-02-23 15:35 Jani Nikula
  2021-02-23 15:35 ` [Intel-gfx] [PATCH v2 1/7] drm/i915: remove unused ADLS_REVID_* macros Jani Nikula
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Jani Nikula @ 2021-02-23 15:35 UTC (permalink / raw)
  To: intel-gfx; +Cc: jani.nikula, lucas.demarchi

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-03-05 10:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 15:35 [Intel-gfx] [PATCH v2 0/7] drm/i915: refactor KBL/TGL/ADLS stepping scheme Jani Nikula
2021-02-23 15:35 ` [Intel-gfx] [PATCH v2 1/7] drm/i915: remove unused ADLS_REVID_* macros Jani Nikula
2021-02-24  1:47   ` Lucas De Marchi
2021-02-23 15:35 ` [Intel-gfx] [PATCH v2 2/7] drm/i915: split out stepping info to a new file Jani Nikula
2021-02-23 15:35 ` [Intel-gfx] [PATCH v2 3/7] drm/i915: add new helpers for accessing stepping info Jani Nikula
2021-02-23 15:35 ` [Intel-gfx] [PATCH v2 4/7] drm/i915: switch KBL to the new stepping scheme Jani Nikula
2021-02-23 15:35 ` [Intel-gfx] [PATCH v2 5/7] drm/i915: switch TGL and ADL " Jani Nikula
2021-02-23 15:35 ` [Intel-gfx] [PATCH v2 6/7] drm/i915: rename DISP_STEPPING->DISPLAY_STEP and GT_STEPPING->GT_STEP Jani Nikula
2021-02-24  1:54   ` Lucas De Marchi
2021-02-24  8:46     ` Jani Nikula
2021-03-05 10:19       ` Chris Wilson
2021-02-23 15:35 ` [Intel-gfx] [PATCH v2 7/7] drm/i915: rename disp_stepping->display_step and gt_stepping->gt_step Jani Nikula
2021-02-24  9:38 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: refactor KBL/TGL/ADLS stepping scheme Patchwork
2021-02-24 10:08 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-02-24 11:58 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.