[PATCH] drm/amdgpu: fix introduce gc_*_mes_2.bin v2

Deucher, Alexander Alexander.Deucher at amd.com
Tue Apr 11 15:45:10 UTC 2023


[AMD Official Use Only - General]

> -----Original Message-----
> From: Ma, Li <Li.Ma at amd.com>
> Sent: Monday, April 10, 2023 10:36 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Zhang, Yifan
> <Yifan1.Zhang at amd.com>; Huang, Tim <Tim.Huang at amd.com>; Du,
> Xiaojian <Xiaojian.Du at amd.com>; Ma, Li <Li.Ma at amd.com>
> 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 <li.ma at amd.com>
> ---
>  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


More information about the amd-gfx mailing list