diff options
| author | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-09-08 12:12:45 +0200 | 
|---|---|---|
| committer | Thomas Hellström <thomas.hellstrom@linux.intel.com> | 2025-09-10 09:16:09 +0200 | 
| commit | 1f1541720f651727591411e68c16299de0447b43 (patch) | |
| tree | 32a38e115f0c6e5a207a184315f665c833b0a8c2 /rust/build_error.rs | |
| parent | 59eabff2a3524d7f3bf6c24890cd197c4c116fcb (diff) | |
drm/xe: Rework instances of variants of xe_bo_create_locked()
A common pattern is to create a locked bo, pin it without mapping
and then unlock it. Add a function to do that, which internally
uses xe_validation_guard().
With that we can remove xe_bo_create_locked_range() and add
exhaustive eviction to stolen, pf_provision_vf_lmem and
psmi_alloc_object.
v4:
- New patch after reorganization.
v5:
- Replace DRM_XE_GEM_CPU_CACHING_WB with 0. (CI)
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/20250908101246.65025-13-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'rust/build_error.rs')
0 files changed, 0 insertions, 0 deletions
