Commit 3cd293a7 authored by Eric Huang's avatar Eric Huang Committed by Alex Deucher
Browse files

Revert "Revert "drm/amdkfd: Only apply TLB flush optimization on ALdebaran""



This reverts commit 53d05330.

Revert reason: The issue has been resolved.

Signed-off-by: default avatarEric Huang <jinhuieric.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 626803d1
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -1720,6 +1720,12 @@ int amdgpu_amdkfd_gpuvm_map_memory_to_gpu(
				true);
				true);
	ret = unreserve_bo_and_vms(&ctx, false, false);
	ret = unreserve_bo_and_vms(&ctx, false, false);


	/* Only apply no TLB flush on Aldebaran to
	 * workaround regressions on other Asics.
	 */
	if (table_freed && (adev->asic_type != CHIP_ALDEBARAN))
		*table_freed = true;

	goto out;
	goto out;


out_unreserve:
out_unreserve: