Skip to content

Commit 8dbac5c

Browse files
Shaoyun Liualexdeucher
authored andcommitted
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: 85442ba ("drm/amd/amdgpu: Fix the mes version that support inv_tlbs") Signed-off-by: Shaoyun Liu <shaoyun.liu@amd.com> Reviewed-by: Michael Chen <michael.chen@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent c760bcd commit 8dbac5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ static void gmc_v12_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,
337337
int vmid, i;
338338

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

0 commit comments

Comments
 (0)