On Thu, Apr 17, 2025 at 11:44 AM Srinivasan Shanmugam <srinivasan.shanmu...@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.koe...@amd.com> > Cc: Alex Deucher <alexander.deuc...@amd.com> > Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmu...@amd.com>
Acked-by: Alex Deucher <alexander.deuc...@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 >