Commit 8dbac5cf authored by Shaoyun Liu's avatar Shaoyun Liu Committed by Alex Deucher
Browse files

drm/amd/amdgpu: Fix the mes version that support inv_tlbs



MES version 0x83 is not stable to use the inv_tlbs API. Defer it to 0x84 vertsion.

Fixes: 85442bac ("drm/amd/amdgpu: Fix the mes version that support inv_tlbs")
Signed-off-by: default avatarShaoyun Liu <shaoyun.liu@amd.com>
Reviewed-by: default avatarMichael Chen <michael.chen@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c760bcda
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -337,7 +337,7 @@ static void gmc_v12_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,
	int vmid, i;

	if (adev->enable_uni_mes && adev->mes.ring[AMDGPU_MES_SCHED_PIPE].sched.ready &&
	    (adev->mes.sched_version & AMDGPU_MES_VERSION_MASK) >= 0x83) {
	    (adev->mes.sched_version & AMDGPU_MES_VERSION_MASK) >= 0x84) {
		struct mes_inv_tlbs_pasid_input input = {0};
		input.pasid = pasid;
		input.flush_type = flush_type;