Skip to content

Commit 6a1c31c

Browse files
yifancomalexdeucher
authored andcommitted
drm/amdgpu: flush the correct vmid tlb for specific pasid
flush the correct vmid tlb for specific pasid on gmc 11. Fixes: 041a574 ("drm/amdgpu: fix and cleanup gmc_v11_0_flush_gpu_tlb_pasid") Signed-off-by: Yifan Zhang <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 1a00cfa commit 6a1c31c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ static void gmc_v11_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev,
314314

315315
valid = gmc_v11_0_get_vmid_pasid_mapping_info(adev, vmid,
316316
&queried);
317-
if (!valid || queried == pasid)
317+
if (!valid || queried != pasid)
318318
continue;
319319

320320
if (all_hub) {

0 commit comments

Comments
 (0)