drm/amdgpu: fix and cleanup gmc_v11_0_flush_gpu_tlb_pasid
authorChristian König <christian.koenig@amd.com>
Mon, 4 Sep 2023 11:54:46 +0000 (13:54 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2023 20:55:09 +0000 (16:55 -0400)
commit041a5743883df09386bf0cd95745b514f86473c2
treeccdfd0600f1fc62e02dcd5de0a391d2e34e8d379
parent72cc99205c0b6706b361fb27ccc62564587cadcb
drm/amdgpu: fix and cleanup gmc_v11_0_flush_gpu_tlb_pasid

The same PASID can be used by more than one VMID, reset each of them.

Use the common KIQ handling.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c