Skip to content

drm/{i915,xe}: sort out step enums between the drivers

Jani Nikula intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915/dmc: simplify stepping info initializationdrivers/gpu/drm/i915/display/intel_dmc.c+5 -71 reply
2/8drm/i915/display: add step name in display runtime infodrivers/gpu/drm/i915/display/intel_display_device.c drivers/gpu/drm/i915/display/intel_display_device.h+26 -31 reply
3/8drm/i915/dmc: use step name from runtime infodrivers/gpu/drm/i915/display/intel_dmc.c+3 -41 reply
4/8drm/xe/compat: remove intel_step_name macrodrivers/gpu/drm/xe/compat-i915-headers/intel_step.h+1 -21 reply
5/8drm/intel: add shared step.h and switch i915 to use itdrivers/gpu/drm/i915/intel_step.h include/drm/intel/step.h+64 -552 replies
6/8drm/xe/step: switch to the shared step definitions with i915drivers/gpu/drm/xe/compat-i915-headers/intel_step.h drivers/gpu/drm/xe/xe_step_types.h+5 -621 reply
7/8drm/xe/step: switch from enum xe_step to intel_step namingdrivers/gpu/drm/xe/tests/xe_pci.c drivers/gpu/drm/xe/xe_step.c drivers/gpu/drm/xe/xe_step.h +1 more+5 -71 reply
8/8drm/i915/display: switch to including common step file directlydrivers/gpu/drm/i915/display/intel_cdclk.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_display_device.c +10 more+12 -231 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchLuca Coelho
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] drm/{i915,xe}: sort out step enums between the drivers

A bunch of cleanup to share step enum across drivers.

Jani Nikula (8):
drm/i915/dmc: simplify stepping info initialization drm/i915/display: add step name in display runtime info drm/i915/dmc: use step name from runtime info drm/xe/compat: remove intel_step_name macro drm/intel: add shared step.h and switch i915 to use it drm/xe/step: switch to the shared step definitions with i915 drm/xe/step: switch from enum xe_step to intel_step naming drm/i915/display: switch to including common step file directly

 drivers/gpu/drm/i915/display/intel_cdclk.c    |  2 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      |  2 +-
 .../drm/i915/display/intel_display_device.c   | 30 +++++++--
 .../drm/i915/display/intel_display_device.h   |  1 +
 .../drm/i915/display/intel_display_power.c    |  2 +-
 drivers/gpu/drm/i915/display/intel_dmc.c      | 19 +++---
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |  2 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c |  2 +-
 drivers/gpu/drm/i915/display/intel_fbc.c      |  2 +-
 drivers/gpu/drm/i915/display/intel_flipq.c    |  2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c     |  2 +-
 drivers/gpu/drm/i915/display/intel_pmdemand.c |  2 +-
 drivers/gpu/drm/i915/display/intel_psr.c      |  2 +-
 .../drm/i915/display/skl_universal_plane.c    |  2 +-
 drivers/gpu/drm/i915/intel_step.h             | 57 +----------------
 .../drm/xe/compat-i915-headers/intel_step.h   | 14 -----
 drivers/gpu/drm/xe/tests/xe_pci.c             |  4 +-
 drivers/gpu/drm/xe/xe_step.c                  |  2 +-
 drivers/gpu/drm/xe/xe_step.h                  |  4 +-
 drivers/gpu/drm/xe/xe_step_types.h            | 61 +-----------------
 include/drm/intel/step.h                      | 62 +++++++++++++++++++
 21 files changed, 117 insertions(+), 159 deletions(-)
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/intel_step.h
 create mode 100644 include/drm/intel/step.h
Signature · 1 line
2.47.3