[PATCH] drm/amdgpu: Refine Cleaner Shader MEC firmware version for GFX10.1.x GPUs
Alex Deucher
alexdeucher at gmail.com
Thu Apr 17 15:47:52 UTC 2025
On Thu, Apr 17, 2025 at 11:44 AM Srinivasan Shanmugam
<srinivasan.shanmugam at amd.com> wrote:
>
> Update the minimum firmware version for the Cleaner Shader in the
> gfx_v10_0_sw_init function.
>
> This change adjusts the minimum required firmware version for the MEC
> firmware from 152 to 151, allowing for broader compatibility with
> GFX10.1 GPUs.
>
> Fixes: 25961bad9212 ("drm/amdgpu/gfx10: Add cleaner shader for GFX10.1.10")
> Cc: Christian König <christian.koenig at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> index 00eb4cfecf8f..e140f673d25a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> @@ -4828,7 +4828,7 @@ static int gfx_v10_0_sw_init(struct amdgpu_ip_block *ip_block)
> adev->gfx.cleaner_shader_size = sizeof(gfx_10_1_10_cleaner_shader_hex);
> if (adev->gfx.me_fw_version >= 101 &&
> adev->gfx.pfp_fw_version >= 158 &&
> - adev->gfx.mec_fw_version >= 152) {
> + adev->gfx.mec_fw_version >= 151) {
> adev->gfx.enable_cleaner_shader = true;
> r = amdgpu_gfx_cleaner_shader_sw_init(adev, adev->gfx.cleaner_shader_size);
> if (r) {
> --
> 2.34.1
>
More information about the amd-gfx
mailing list