Commit 652a06f7 authored by Alex Deucher's avatar Alex Deucher
Browse files

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: default avatarPrike Liang <Prike.Liang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5608ddf6
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;