From 0c9ad4728687f4e4c8cec290540a9dc0956d3243 Mon Sep 17 00:00:00 2001 From: Mukul Joshi Date: Mon, 23 Jun 2025 17:15:32 -0400 Subject: [PATCH] drm/amdgpu: Flush TLB on all XCCs on GFX 12.1 Currently, the driver code is flushing TLB on XCC 0 only. Fix it by flushing on all XCCs within the partition. Signed-off-by: Mukul Joshi Reviewed-by: Felix Kuehling Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c index 77746dd9faa15..fa46b0089e8dd 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c @@ -361,7 +361,7 @@ static void gmc_v12_1_flush_gpu_tlb_pasid(struct amdgpu_device *adev, gmc_v12_1_flush_gpu_tlb(adev, vmid, i, flush_type); } else { - gmc_v12_1_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(0), + gmc_v12_1_flush_gpu_tlb(adev, vmid, AMDGPU_GFXHUB(inst), flush_type); } } -- 2.47.3