[PATCH 07/30] drm/amdgpu/gmc10: use MMIO for TLB flushes
Alex Deucher <[email protected]>
| Newsgroups | org.freedesktop.lists.amd-gfx |
|---|---|
| Message-ID | <[email protected]> |
KIQ handles scheduling on GC 10 so it can get delayed if there are a lot of queues active. KIQ was used to avoid disallowing GFXOFF, but since the KIQ will wake GFX anyway, just disallow it when we flush and use MMIO. Signed-off-by: Alex Deucher <[email protected]> --- drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c index 7ea1c4b878e97..23d9fe995a2b5 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c @@ -884,7 +884,7 @@ static int gmc_v10_0_sw_init(struct amdgpu_ip_block *ip_block) return r; adev->gmc.use_mmio_for_tlb_flush = - !(amdgpu_sriov_runtime(adev) || !amdgpu_sriov_vf(adev)); + !amdgpu_sriov_runtime(adev); return 0; } -- 2.55.0