diff options
author | Matthew Brost <matthew.brost@intel.com> | 2023-01-24 16:21:58 -0800 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-19 18:27:46 -0500 |
commit | 332dd0116c82a75df175a459fa69dda3f23491a7 (patch) | |
tree | 9fe957652d0543816337f95bc3ec09c7c131aaa3 /drivers/gpu/drm/xe/xe_gt_pagefault.c | |
parent | 9d25e284ea468930b0310b432784eef45e83e378 (diff) |
drm/xe: Add range based TLB invalidations
If the platform supports range based TLB invalidations use them. Hide
these details in the xe_gt_tlb_invalidation layer.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_gt_pagefault.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_gt_pagefault.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/gpu/drm/xe/xe_gt_pagefault.c b/drivers/gpu/drm/xe/xe_gt_pagefault.c index 705093cb63d7..e1a5a3a70c92 100644 --- a/drivers/gpu/drm/xe/xe_gt_pagefault.c +++ b/drivers/gpu/drm/xe/xe_gt_pagefault.c @@ -240,12 +240,7 @@ unlock_vm: goto retry_userptr; if (!ret) { - /* - * FIXME: Doing a full TLB invalidation for now, likely could - * defer TLB invalidate + fault response to a callback of fence - * too - */ - ret = xe_gt_tlb_invalidation(gt, NULL); + ret = xe_gt_tlb_invalidation(gt, NULL, vma); if (ret >= 0) ret = 0; } |