[AMD Official Use Only - General]

> -----Original Message-----
> From: Ma, Li <[email protected]>
> Sent: Monday, April 10, 2023 10:36 PM
> To: [email protected]
> Cc: Deucher, Alexander <[email protected]>; Zhang, Yifan
> <[email protected]>; Huang, Tim <[email protected]>; Du,
> Xiaojian <[email protected]>; Ma, Li <[email protected]>
> Subject: [PATCH] drm/amdgpu: fix introduce gc_*_mes_2.bin v2
> 
> Rename MODULE_FIRMWARE declaration of gc_11_0_4_mes to
> gc_11_0_4_mes_2
> 
> Signed-off-by: Li Ma <[email protected]>
> ---
>  drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
> b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
> index 67f7557d545d..7e8c15cd8dc2 100644
> --- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c
> @@ -40,7 +40,7 @@
> MODULE_FIRMWARE("amdgpu/gc_11_0_2_mes_2.bin");
>  MODULE_FIRMWARE("amdgpu/gc_11_0_2_mes1.bin");
>  MODULE_FIRMWARE("amdgpu/gc_11_0_3_mes_2.bin");
>  MODULE_FIRMWARE("amdgpu/gc_11_0_3_mes1.bin");
> -MODULE_FIRMWARE("amdgpu/gc_11_0_4_mes.bin");

I don't think you need to remove the old ones, they should still be available 
as a fallback if the new ones don't exist.

Alex

> +MODULE_FIRMWARE("amdgpu/gc_11_0_4_mes_2.bin");
>  MODULE_FIRMWARE("amdgpu/gc_11_0_4_mes1.bin");
> 
>  static int mes_v11_0_hw_fini(void *handle);
> --
> 2.25.1

Reply via email to