]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Implement and use the drm_pagemap populate_mm op
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 19 Jun 2025 13:40:35 +0000 (15:40 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 26 Jun 2025 16:00:10 +0000 (18:00 +0200)
commitb5870168783168f670bd55ebb00fd8207cb42479
treeda7f2f5e4fff1d768382ef29413592531a9aece8
parent2ef19be2a545a63310c5c0fae0e173fc0c33bb6a
drm/xe: Implement and use the drm_pagemap populate_mm op

Add runtime PM since we might call populate_mm on a foreign device.

v3:
- Fix a kerneldoc failure (Matt Brost)
- Revert the bo type change from device to kernel (Matt Brost)
v4:
- Add an assert in xe_svm_alloc_vram (Matt Brost)

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250619134035.170086-4-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/drm_pagemap.c
drivers/gpu/drm/xe/xe_svm.c
drivers/gpu/drm/xe/xe_svm.h
drivers/gpu/drm/xe/xe_tile.h
drivers/gpu/drm/xe/xe_vm.c