Commit 5adcd745 authored by Eric Huang's avatar Eric Huang Committed by Alex Deucher
Browse files

Revert "drm/amdkfd: Add heavy-weight TLB flush after unmapping"



This reverts commit 1098d658.

Reason for revert: it causes regressions on several Asics.

Signed-off-by: default avatarEric Huang <jinhuieric.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d6050943
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1563,7 +1563,6 @@ static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep,
			       i, args->n_devices);
			goto unmap_memory_from_gpu_failed;
		}
		kfd_flush_tlb(peer_pdd, TLB_FLUSH_HEAVYWEIGHT);
		args->n_success = i+1;
	}
	kfree(devices_arr);