From: Mukul Joshi Date: Mon, 23 Jun 2025 21:15:32 +0000 (-0400) Subject: drm/amdgpu: Flush TLB on all XCCs on GFX 12.1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c9ad4728687f4e4c8cec290540a9dc0956d3243;p=thirdparty%2Fkernel%2Flinux.git 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 --- 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); } }