[PATCH 0/4] drm/{i915,xe}: Move PCH stuff under display

Jani Nikula jani.nikula at intel.com
Fri Apr 11 09:54:10 UTC 2025


Resurrect [1], patches 1-2 unchanged, with some cleanups on top.

With the current patches in flight, we'll have removed all the PCH
checks from i915 core other than a couple of instances in
intel_clock_gating.c. We can figure those out as we go along, but
merging this now unblocks a bunch of further cleanups in display.

BR,
Jani.


[1] https://lore.kernel.org/r/20250218010224.761209-1-rodrigo.vivi@intel.com



Jani Nikula (2):
  drm/i915/pch: move PCH detection to intel_display_driver_early_probe()
  drm/i915/pch: clean up includes

Rodrigo Vivi (2):
  drm/{i915,xe}: Move intel_pch under display
  drm/i915/display: Convert intel_pch towards intel_display

 drivers/gpu/drm/i915/Makefile                 |   2 +-
 .../gpu/drm/i915/display/intel_display_core.h |   6 +-
 .../drm/i915/display/intel_display_driver.c   |   3 +
 .../gpu/drm/i915/{soc => display}/intel_pch.c | 248 +++++++++---------
 drivers/gpu/drm/i915/display/intel_pch.h      |  58 ++++
 drivers/gpu/drm/i915/i915_driver.c            |   3 -
 drivers/gpu/drm/i915/i915_drv.h               |   5 -
 drivers/gpu/drm/i915/soc/intel_pch.h          |  56 ----
 drivers/gpu/drm/xe/Makefile                   |   2 +-
 .../xe/compat-i915-headers/soc/intel_pch.h    |   6 -
 drivers/gpu/drm/xe/display/xe_display.c       |   3 -
 drivers/gpu/drm/xe/xe_device_types.h          |   2 -
 12 files changed, 199 insertions(+), 195 deletions(-)
 rename drivers/gpu/drm/i915/{soc => display}/intel_pch.c (50%)
 create mode 100644 drivers/gpu/drm/i915/display/intel_pch.h
 delete mode 100644 drivers/gpu/drm/i915/soc/intel_pch.h
 delete mode 100644 drivers/gpu/drm/xe/compat-i915-headers/soc/intel_pch.h

-- 
2.39.5



More information about the Intel-xe mailing list