[PATCH v3 0/5] drm/xe: enable driver usage on non-4KiB kernels

Simon Richter Simon.Richter at hogyros.de
Wed Jul 23 07:45:12 UTC 2025


Hi,

since this needed a rebase for the disappearance of bo->size, I've gone
ahead and done that (one line removed from Mingcong Bai's original patch
series).

There is only one thing that might need looking into: this will still fail
if kernel pages are larger than 64k. I'm not aware of any platform where
that is the case though.

   Simon

Mingcong Bai (5):
  drm/xe/bo: fix alignment with non-4KiB kernel page sizes
  drm/xe/guc: use GUC_SIZE (SZ_4K) for alignment
  drm/xe/regs: fix RING_CTL_SIZE(size) calculation
  drm/xe: use 4KiB alignment for cursor jumps
  drm/xe/query: use PAGE_SIZE as the minimum page alignment

 drivers/gpu/drm/xe/regs/xe_engine_regs.h |  2 +-
 drivers/gpu/drm/xe/xe_bo.c               |  6 ++---
 drivers/gpu/drm/xe/xe_guc.c              |  4 +--
 drivers/gpu/drm/xe/xe_guc.h              |  3 +++
 drivers/gpu/drm/xe/xe_guc_ads.c          | 32 ++++++++++++------------
 drivers/gpu/drm/xe/xe_guc_capture.c      |  8 +++---
 drivers/gpu/drm/xe/xe_guc_ct.c           |  2 +-
 drivers/gpu/drm/xe/xe_guc_log.c          |  5 ++--
 drivers/gpu/drm/xe/xe_guc_pc.c           |  4 +--
 drivers/gpu/drm/xe/xe_migrate.c          |  4 +--
 drivers/gpu/drm/xe/xe_query.c            |  2 +-
 include/uapi/drm/xe_drm.h                |  7 ++++--
 12 files changed, 43 insertions(+), 36 deletions(-)

-- 
2.47.2



More information about the Intel-xe mailing list