Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Enable THP support in drm_pagemap
@ 2026-01-05 11:18 Francois Dugast
  2026-01-05 11:18 ` [PATCH v2 1/5] mm/migrate: Add migrate_device_split_page Francois Dugast
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Francois Dugast @ 2026-01-05 11:18 UTC (permalink / raw)
  To: intel-xe; +Cc: dri-devel, Francois Dugast

Use Balbir Singh's series for device-private THP support [1] and previous
preparation work in drm_pagemap [2] to add 2MB/THP support in xe. This leads
to significant performance improvements when using SVM with 2MB pages.

[1] https://lore.kernel.org/linux-mm/20251001065707.920170-1-balbirs@nvidia.com/
[2] https://patchwork.freedesktop.org/series/151754/

v2:
- rebase on top of multi-device SVM support
- add Matt Brost's drm_pagemap_cpages() with temporary patch
- address other feedback from Matt Brost on v1

Francois Dugast (4):
  drm/pagemap: Unlock and put folios when possible
  drm/pagemap: Add helper to access zone_device_data
  DONOTMERGE drm/pagemap: Add drm_pagemap_cpages
  drm/pagemap: Enable THP support for GPU memory migration

Matthew Brost (1):
  mm/migrate: Add migrate_device_split_page

 drivers/gpu/drm/drm_gpusvm.c  |   7 +-
 drivers/gpu/drm/drm_pagemap.c | 160 ++++++++++++++++++++++++++++------
 drivers/gpu/drm/xe/xe_svm.c   |   4 +
 include/drm/drm_pagemap.h     |  18 ++++
 include/linux/huge_mm.h       |   3 +
 include/linux/migrate.h       |   1 +
 mm/huge_memory.c              |   6 +-
 mm/migrate_device.c           |  49 +++++++++++
 8 files changed, 216 insertions(+), 32 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2026-01-07  2:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 11:18 [PATCH v2 0/5] Enable THP support in drm_pagemap Francois Dugast
2026-01-05 11:18 ` [PATCH v2 1/5] mm/migrate: Add migrate_device_split_page Francois Dugast
2026-01-05 11:18 ` [PATCH v2 2/5] drm/pagemap: Unlock and put folios when possible Francois Dugast
2026-01-05 11:18 ` [PATCH v2 3/5] drm/pagemap: Add helper to access zone_device_data Francois Dugast
2026-01-05 15:53   ` Matthew Brost
2026-01-05 11:18 ` [PATCH v2 4/5] DONOTMERGE drm/pagemap: Add drm_pagemap_cpages Francois Dugast
2026-01-05 16:51   ` Matthew Brost
2026-01-07  2:32   ` Matthew Brost
2026-01-05 11:18 ` [PATCH v2 5/5] drm/pagemap: Enable THP support for GPU memory migration Francois Dugast
2026-01-05 16:09   ` Matthew Brost
2026-01-06 12:47     ` Francois Dugast
2026-01-05 11:38 ` ✗ CI.checkpatch: warning for Enable THP support in drm_pagemap (rev2) Patchwork
2026-01-05 11:39 ` ✓ CI.KUnit: success " Patchwork
2026-01-05 11:58 ` ✗ CI.checksparse: warning " Patchwork
2026-01-05 12:19 ` ✓ Xe.CI.BAT: success " Patchwork
2026-01-05 14:04 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox