Leftover from MES bring up.  There is no production
MES support for MES 10.x.  The rest of the MES 10.x
code has already been removed so drop this.

Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c 
b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
index ac9b1708e20d8..fddec5d1f2444 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
@@ -136,11 +136,8 @@ int amdgpu_mes_init(struct amdgpu_device *adev)
        }
 
        for (i = 0; i < AMDGPU_MES_MAX_SDMA_PIPES; i++) {
-               if (amdgpu_ip_version(adev, SDMA0_HWIP, 0) <
-                   IP_VERSION(6, 0, 0))
-                       adev->mes.sdma_hqd_mask[i] = i ? 0 : 0x3fc;
                /* zero sdma_hqd_mask for non-existent engine */
-               else if (adev->sdma.num_instances == 1)
+               if (adev->sdma.num_instances == 1)
                        adev->mes.sdma_hqd_mask[i] = i ? 0 : 0xfc;
                else
                        adev->mes.sdma_hqd_mask[i] = 0xfc;
-- 
2.48.1

Reply via email to