[Intel-xe] [PATCH 0/4] drm/xe/display: reuse soc/ code from i915

Jani Nikula jani.nikula at intel.com
Tue Jul 4 15:32:39 UTC 2023


Remove a bunch of duplication from xe by reusing the soc code from i915.

BR,
Jani.


Jani Nikula (4):
  drm/i915/dram: replace __raw_uncore_read32() with
    intel_uncore_read_fw()
  drm/xe/mmio: add xe_mmio_read16()
  fixup! drm/xe/display: Implement display support
  fixup! drm/xe/display: Implement display support

 drivers/gpu/drm/i915/soc/intel_dram.c         |   2 +-
 drivers/gpu/drm/xe/Makefile                   |  14 +-
 .../gpu/drm/xe/compat-i915-headers/i915_drv.h |   2 +-
 .../drm/xe/compat-i915-headers/intel_uncore.h |   8 +
 .../xe/compat-i915-headers/soc/intel_dram.h   |   1 +
 .../xe/compat-i915-headers/soc/intel_pch.h    |   1 +
 drivers/gpu/drm/xe/display/ext/intel_dram.c   | 496 ------------------
 drivers/gpu/drm/xe/display/ext/intel_dram.h   |  14 -
 drivers/gpu/drm/xe/display/ext/intel_pch.c    | 157 ------
 drivers/gpu/drm/xe/display/ext/intel_pch.h    |  91 ----
 drivers/gpu/drm/xe/xe_device_types.h          |   9 +-
 drivers/gpu/drm/xe/xe_display.c               |   2 +-
 drivers/gpu/drm/xe/xe_mmio.h                  |  10 +
 13 files changed, 42 insertions(+), 765 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/soc/intel_dram.h
 create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/soc/intel_pch.h
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_dram.c
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_dram.h
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_pch.c
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_pch.h

-- 
2.39.2



More information about the Intel-xe mailing list