summaryrefslogtreecommitdiff
path: root/rust/helpers/blk.c
diff options
context:
space:
mode:
authorShuicheng Lin <shuicheng.lin@intel.com>2025-09-11 03:14:06 +0000
committerMatt Roper <matthew.d.roper@intel.com>2025-09-17 09:50:44 -0700
commit5959c4da17e01782ad09b226802ac1f1ef157a70 (patch)
tree8959225f8ffe72e1184bd1f7ce7326cf54fd635c /rust/helpers/blk.c
parent5bb5258e357eb79719d1c998731b932c945cb52c (diff)
drm/xe: Misc refine for svm
These changes should have no functional impact. 1. Correct typo of "operation"in macro range_debug(). 2. Combine 2 spin_lock() call in xe_svm_garbage_collector() into 1. 3. Drop redundant preferred_region_is_vram check in xe_svm_range_needs_migrate_to_vram(). 4. Combine the devmem_possible check in xe_svm_handle_pagefault(). need_vram includes the IS_DGFX() check, so there is no change for .devmem_only. v2: revert !ctx.devmem_only change (Matt) v3: rebase code and refine commit message. v4: rebase code and refine commit message. Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20250911031405.1371812-2-shuicheng.lin@intel.com
Diffstat (limited to 'rust/helpers/blk.c')
0 files changed, 0 insertions, 0 deletions