diff options
author | Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> | 2025-08-21 23:00:59 +0530 |
---|---|---|
committer | Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> | 2025-08-26 11:25:36 +0530 |
commit | 293032eec4baa04374d62dd44de61e355296ad32 (patch) | |
tree | 0a09b6d1694a3be1ef5af517805296213cd907f4 /rust/helpers/vmalloc.c | |
parent | 072e299982635aa8d96683071930e3bf0a1c1a2f (diff) |
drm/xe/bo: Update atomic_access attribute on madvise
Update the bo_atomic_access based on user-provided input and determine
the migration to smem during a CPU fault
v2 (Matthew Brost)
- Avoid cpu unmapping if bo is already in smem
- check atomics on smem too for ioctl
- Add comments
v3
- Avoid migration in prefetch
v4 (Matthew Brost)
- make sanity check function bool
- add assert for smem placement
- fix doc
v5 (Matthew Brost)
- NACK atomic fault with DRM_XE_ATOMIC_CPU
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250821173104.3030148-16-himal.prasad.ghimiray@intel.com
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions