drm/amdgpu/gmc12: properly pass flush_type to gmc_v12_0_flush_vm_hub()
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 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.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +1 -1
@@ -331,7 +331,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 ; }
Signature · 1 line
2.55.0
Quoted 6 lines · Alex Deucher
In
gmc_v12_0_flush_gpu_tlb(),flush_typewas not properly passed togmc_v12_0_flush_vm_hub(). This only affected the MMIO path. In most cases the flush would go through MES.Signed-off-by Alex Deucher<[email protected]>
Reviewed-by Mukul Joshi <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c +1
-1@@ -331,7 +331,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 ; }