[PATCH 3/4] drm/amdgpu/mes: drop MES 10.x leftovers
Liang, Prike
Prike.Liang at amd.com
Thu Mar 20 10:20:29 UTC 2025
[Public]
Acked-by: Prike Liang <Prike.Liang at amd.com>
Regards,
Prike
> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Alex
> Deucher
> Sent: Thursday, March 20, 2025 3:09 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
> Subject: [PATCH 3/4] 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.
>
> Signed-off-by: Alex Deucher <alexander.deucher at 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
More information about the amd-gfx
mailing list