mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 23:20:32 -04:00
drm/xe: Fix indentation in xe_zap_ptes_in_madvise_range
Fix misleading indentation around WRITE_ONCE in pte zap loop.
No functional change intended.
Fixes: ada7486c56 ("drm/xe: Implement madvise ioctl for xe")
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Link: https://lore.kernel.org/r/20250828104933.3839825-2-himal.prasad.ghimiray@intel.com
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
This commit is contained in:
@@ -201,12 +201,12 @@ static u8 xe_zap_ptes_in_madvise_range(struct xe_vm *vm, u64 start, u64 end)
|
||||
if (xe_pt_zap_ptes(tile, vma)) {
|
||||
tile_mask |= BIT(id);
|
||||
|
||||
/*
|
||||
* WRITE_ONCE pairs with READ_ONCE
|
||||
* in xe_vm_has_valid_gpu_mapping()
|
||||
*/
|
||||
WRITE_ONCE(vma->tile_invalidated,
|
||||
vma->tile_invalidated | BIT(id));
|
||||
/*
|
||||
* WRITE_ONCE pairs with READ_ONCE
|
||||
* in xe_vm_has_valid_gpu_mapping()
|
||||
*/
|
||||
WRITE_ONCE(vma->tile_invalidated,
|
||||
vma->tile_invalidated | BIT(id));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user