diff options
| author | 2025-12-19 12:33:09 +0100 | |
|---|---|---|
| committer | 2025-12-23 10:00:48 +0100 | |
| commit | 238dbc9d9f4a7396e87d357567e09dcd270d9e16 (patch) | |
| tree | 3314efc23c6a49589374775d2c512a9c48b172eb /include/linux/hsi/ssh:/git@git.zx2c4.com | |
| parent | drm/xe: Pass a drm_pagemap pointer around with the memory advise attributes (diff) | |
drm/xe: Use the vma attibute drm_pagemap to select where to migrate
Honor the drm_pagemap vma attribute when migrating SVM pages.
Ensure that when the desired placement is validated as device
memory, that we also check that the requested drm_pagemap is
consistent with the current.
v2:
- Initialize a struct drm_pagemap pointer to NULL that could
otherwise be dereferenced uninitialized. (CI)
- Remove a redundant assignment (Matt Brost)
- Slightly improved commit message (Matt Brost)
- Extended drm_pagemap validation.
v3:
- Fix a compilation error if CONFIG_DRM_GPUSVM is not enabled.
(kernel test robot <lkp@intel.com>)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patch.msgid.link/20251219113320.183860-14-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'include/linux/hsi/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
