[Intel-xe] [PATCH 0/6] drm/xe: Meteorlake fixes.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Mar 31 10:24:13 UTC 2023


I've been trying to make MTL-P work on Xe, and noticed a few things that needed fixing.
First of all, intel_dram needed updating for MTL. But instead of trying to keep track of
intel_pch.c and intel_dram.c, we compile the copy from i915. Ideally we would also use the
headers from i915, but I haven't found a clean way to make it work.

Maybe change the compat headers to #include "../../i915/soc/FILENAME?", or allow a symlink?

Maarten Lankhorst (6):
  drm/xe: Fix meteorlake stolen memory
  drm/xe: Use full_gt batchbuffer allocation for media tiles.
  drm/i915: Fix comparison in intel_dram.
  drm/xe: Fix XE_LPDP and meteorlake display info.
  drm/xe: Build soc files directly
  drm/xe: Fixup __intel_de_wait_for_register macro.

 drivers/gpu/drm/i915/soc/intel_dram.c         |  32 +-
 drivers/gpu/drm/xe/Makefile                   |   8 +-
 .../gpu/drm/xe/compat-i915-headers/i915_drv.h |   2 +-
 .../soc}/intel_dram.h                         |   1 -
 .../soc}/intel_pch.h                          |   0
 drivers/gpu/drm/xe/display/ext/intel_dram.c   | 495 ------------------
 drivers/gpu/drm/xe/display/ext/intel_pch.c    | 157 ------
 drivers/gpu/drm/xe/display/xe_de.h            |   4 +
 drivers/gpu/drm/xe/xe_bo.c                    |   3 +-
 drivers/gpu/drm/xe/xe_device_types.h          |   2 +-
 drivers/gpu/drm/xe/xe_display.c               |  11 +-
 drivers/gpu/drm/xe/xe_gt.c                    |  10 +-
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c        |   3 +-
 13 files changed, 50 insertions(+), 678 deletions(-)
 rename drivers/gpu/drm/xe/{display/ext => compat-i915-headers/soc}/intel_dram.h (80%)
 rename drivers/gpu/drm/xe/{display/ext => compat-i915-headers/soc}/intel_pch.h (100%)
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_dram.c
 delete mode 100644 drivers/gpu/drm/xe/display/ext/intel_pch.c

-- 
2.34.1



More information about the Intel-xe mailing list