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 <yifan1.zhang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 1a00cfa commit 6a1c31c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)