drm/amdgpu: flush the correct vmid tlb for specific pasid
Subsystems (2)
PATCH 1/1 drm/amdgpu: flush the correct vmid tlb for specific pasid
flush the correct vmid tlb for specific pasid on gmc 11.
Signed-off-by Yifan Zhang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +1 -1
@@ -314,7 +314,7 @@ static void gmc_v11_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, valid =gmc_v11_0_get_vmid_pasid_mapping_info (adev, vmid, &queried); -if (!valid || queried == pasid) +if (!valid || queried != pasid)continue ;if (all_hub) {
Signature · 1 line
2.37.3
Christian König
maintainerAm 12.10.23 um 09:41 schrieb Yifan Zhang:
Quoted 3 lines
flush the correct vmid tlb for specific pasid on gmc 11.
Signed-off-by Yifan Zhang <[email protected]>
Good catch, Reviewed-by: Christian König <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c +1
-1@@ -314,7 +314,7 @@ static void gmc_v11_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, valid =gmc_v11_0_get_vmid_pasid_mapping_info (adev, vmid, &queried); -if (!valid || queried == pasid) +if (!valid || queried != pasid)continue ;if (all_hub) {