MES only has one pipe on GC 11 which handles scheduling
so it can get delayed if there are a lot of queues active.

MES was used to avoid disallowing GFXOFF, but since the
MES 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_v11_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c 
b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
index fc730504be5f0..098e1340554c5 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
@@ -866,7 +866,7 @@ static int gmc_v11_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

Reply via email to