drm/xe: Add xe_gt_tlb_invalidation_range and convert PT layer to use this
authorMatthew Brost <matthew.brost@intel.com>
Thu, 25 Apr 2024 04:55:12 +0000 (21:55 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 26 Apr 2024 19:10:07 +0000 (12:10 -0700)
commitc4f18703629dd0112641d6974eb295a53c4a4615
tree9d3079081b3c41610483dc1efca2766ac156123c
parent5aa5eea09af08ad446f78f3de10388c98f52f19c
drm/xe: Add xe_gt_tlb_invalidation_range and convert PT layer to use this

xe_gt_tlb_invalidation_range accepts a start and end address rather than
a VMA. This will enable multiple VMAs to be invalidated in a single
invalidation. Update the PT layer to use this new function.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Oak Zeng <oak.zeng@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240425045513.1913039-13-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h
drivers/gpu/drm/xe/xe_pt.c