aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2025-03-19 13:57:51 +0000
committerAlex Deucher <[email protected]>2025-03-21 16:16:35 +0000
commit652a06f74aee7f25529dd52b18b4c41c976277ce (patch)
tree70f95ae1b7723e652ffbd5d61705ca7c04d9628f /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentdrm/amdgpu/mes: optimize compute loop handling (diff)
downloadkernel-652a06f74aee7f25529dd52b18b4c41c976277ce.tar.gz
kernel-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 <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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;