drm/amdgpu/sriov : Use kiq to do tlb invalidation for gfx10 on sriov
authorshaoyunl <shaoyun.liu@amd.com>
Thu, 9 Apr 2020 19:53:17 +0000 (15:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:13 +0000 (01:59 -0400)
commit8db1015b99b29f4a77639a217cedba669eccd53b
treec06429588f96bed343e49edb846ff2154dd40451
parent80c36f8646ebf0018e3e8bb5de35f7e7be664f54
drm/amdgpu/sriov : Use kiq to do tlb invalidation for gfx10 on sriov

On SRIOV run time, driver shouldn't directly access invalidation registers through MMIO.
Use kiq to submit wait_reg_mem package for the invalidation

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c