[PATCH v2 0/6] Prepare GPU SVM for migration of THP

Francois Dugast francois.dugast at intel.com
Fri Jul 25 15:39:24 UTC 2025


v2: Rebase, address feedback provided by Matthew Brost

Francois Dugast (6):
  drm/pagemap: Rename drm_pagemap_device_addr to drm_pagemap_addr
  drm/pagemap: Use struct drm_pagemap_addr in mapping and copy functions
  drm/pagemap: DMA map folios when possible
  drm/pagemap: Allocate folios when possible
  drm/xe/migrate: Populate struct drm_pagemap_addr array
  drm/xe/svm: Migrate folios when possible

 drivers/gpu/drm/drm_gpusvm.c       |   4 +-
 drivers/gpu/drm/drm_pagemap.c      | 120 ++++++++++++++++++-----------
 drivers/gpu/drm/xe/xe_bo.c         |   2 +
 drivers/gpu/drm/xe/xe_migrate.c    |  86 ++++++++++++++-------
 drivers/gpu/drm/xe/xe_migrate.h    |   5 +-
 drivers/gpu/drm/xe/xe_res_cursor.h |  10 +--
 drivers/gpu/drm/xe/xe_svm.c        |  46 ++++++-----
 drivers/gpu/drm/xe/xe_svm.h        |   4 +-
 include/drm/drm_gpusvm.h           |   4 +-
 include/drm/drm_pagemap.h          |  50 ++++++------
 10 files changed, 206 insertions(+), 125 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list