drm/amdgpu/gmc12: properly pass flush_type to gmc_v12_0_flush_vm_hub()

In gmc_v12_0_flush_gpu_tlb(), flush_type was not properly
passed to gmc_v12_0_flush_vm_hub().  This only affected
the MMIO path.  In most cases the flush would go through
MES.

Reviewed-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 6498e33f22)
Cc: stable@vger.kernel.org
This commit is contained in:
Alex Deucher 2026-09-25 13:46:19 -04:00
parent 51cc916648
commit 0bfb1bfc82

View File

@ -327,7 +327,7 @@ static void gmc_v12_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid,
return;
}
gmc_v12_0_flush_vm_hub(adev, vmid, vmhub, 0);
gmc_v12_0_flush_vm_hub(adev, vmid, vmhub, flush_type);
return;
}