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

Francois Dugast francois.dugast at intel.com
Tue Aug 5 13:59:01 UTC 2025


v4: Minor fixes in patch #4, trigger CI to confirm absence of warnings

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      | 138 +++++++++++++++++++----------
 drivers/gpu/drm/xe/xe_bo.c         |   2 +
 drivers/gpu/drm/xe/xe_migrate.c    |  88 ++++++++++++------
 drivers/gpu/drm/xe/xe_migrate.h    |   5 +-
 drivers/gpu/drm/xe/xe_res_cursor.h |  10 +--
 drivers/gpu/drm/xe/xe_svm.c        |  49 ++++++----
 drivers/gpu/drm/xe/xe_svm.h        |   4 +-
 include/drm/drm_gpusvm.h           |   4 +-
 include/drm/drm_pagemap.h          |  50 ++++++-----
 10 files changed, 225 insertions(+), 129 deletions(-)

-- 
2.43.0



More information about the Intel-xe mailing list