]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/amdgpu: Fix the mes version that support inv_tlbs
authorShaoyun Liu <shaoyun.liu@amd.com>
Thu, 11 Sep 2025 16:59:00 +0000 (12:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Sep 2025 21:02:44 +0000 (17:02 -0400)
commit85442bac84666640354c6728fd5d5d241190d960
tree9ea0e3c6349e278a8ac757e34a8fa71961cacbdd
parent531df041f2a5296174abd8292d298eb62fe1ea97
drm/amd/amdgpu: Fix the mes version that support inv_tlbs

MES pipe0 will do VM invalidation with engine set 5 when assign VMID to a process,
driver will submit inv_tlb package to mes pipe1. It might run into race condition
if both pipes use the same invalidate engine set. From MES version 0x83 it will use
invalidate engine set 6 for pipe1 to fix the issue

Signed-off-by: Shaoyun Liu <shaoyun.liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c