diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-06-15 23:30:23 -0700 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2025-06-17 15:38:11 -0700 |
commit | fab76ce56538fdeb9baaf1bfc06f34532e04f9d7 (patch) | |
tree | f1d006009ba723ef1ada254e54c1b3f0e21c9f92 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | 1a5ce0c5b95b0624ebd44f574b98003a466973be (diff) |
drm/xe: Add xe_vm_has_valid_gpu_mapping helper
Rather than having multiple READ_ONCE of the tile_* fields and comments
in code, use helper with kernel doc for single access point and clear
rules.
v3:
- s/xe_vm_has_valid_gpu_pages/xe_vm_has_valid_gpu_mapping
Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://lore.kernel.org/r/20250616063024.2059829-2-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions