summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2025-03-19 09:57:51 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-03-21 12:16:35 -0400
commit652a06f74aee7f25529dd52b18b4c41c976277ce (patch)
tree70f95ae1b7723e652ffbd5d61705ca7c04d9628f /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parent5608ddf6e94c41a673170b2a7e3aad485fd8b88a (diff)
downloadlinux-652a06f74aee7f25529dd52b18b4c41c976277ce.tar.gz
linux-652a06f74aee7f25529dd52b18b4c41c976277ce.tar.bz2
linux-652a06f74aee7f25529dd52b18b4c41c976277ce.zip
drm/amdgpu/mes: drop MES 10.x leftovers
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. Acked-by: Prike Liang <Prike.Liang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
index e886d3d441d2..81632feee249 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
@@ -155,11 +155,8 @@ int amdgpu_mes_init(struct amdgpu_device *adev)
adev->mes.gfx_hqd_mask[i] = i ? 0 : 0xfffffffe;
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;