Skip to content

Commit 6b8ace7

Browse files
ickle-intelAndi Shyti
authored andcommitted
drm/i915: Invalidate the TLBs on each GT
With multi-GT devices, the object may have been bound on each GT and so we need to invalidate the TLBs across all GT before releasing the pages back to the system. Fixes: d6c531a ("drm/i915: Invalidate the TLBs on each GT") Signed-off-by: Chris Wilson <[email protected]> Signed-off-by: Jonathan Cavitt <[email protected]> CC: Matt Roper <[email protected]> CC: Andi Shyti <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Reviewed-by: Nirmoy Das <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 9c30343 commit 6b8ace7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/gem/i915_gem_pages.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ static void flush_tlb_invalidate(struct drm_i915_gem_object *obj)
198198

199199
for_each_gt(gt, i915, id) {
200200
if (!obj->mm.tlb[id])
201-
return;
201+
continue;
202202

203203
intel_gt_invalidate_tlb_full(gt, obj->mm.tlb[id]);
204204
obj->mm.tlb[id] = 0;

0 commit comments

Comments
 (0)