Skip to content

Commit 652a06f

Browse files
committed
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]>
1 parent 5608ddf commit 652a06f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,8 @@ int amdgpu_mes_init(struct amdgpu_device *adev)
155155
adev->mes.gfx_hqd_mask[i] = i ? 0 : 0xfffffffe;
156156

157157
for (i = 0; i < AMDGPU_MES_MAX_SDMA_PIPES; i++) {
158-
if (amdgpu_ip_version(adev, SDMA0_HWIP, 0) <
159-
IP_VERSION(6, 0, 0))
160-
adev->mes.sdma_hqd_mask[i] = i ? 0 : 0x3fc;
161158
/* zero sdma_hqd_mask for non-existent engine */
162-
else if (adev->sdma.num_instances == 1)
159+
if (adev->sdma.num_instances == 1)
163160
adev->mes.sdma_hqd_mask[i] = i ? 0 : 0xfc;
164161
else
165162
adev->mes.sdma_hqd_mask[i] = 0xfc;

0 commit comments

Comments
 (0)