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
Showing
- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c 44 additions, 15 deletionsdrivers/gpu/drm/xe/xe_gt_tlb_invalidation.c
- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.h 3 additions, 0 deletionsdrivers/gpu/drm/xe/xe_gt_tlb_invalidation.h
- drivers/gpu/drm/xe/xe_pt.c 18 additions, 7 deletionsdrivers/gpu/drm/xe/xe_pt.c
Please register or sign in to comment