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 <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Mukul Joshi 2025-06-23 17:15:32 -04:00 committed by Alex Deucher
parent 20ba98326f
commit 0c9ad47286

View File

@ -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);
}
}