On Wed, Apr 12, 2023 at 10:35 PM Li Ma <li...@amd.com> wrote: > > Fixes: 0f486b64b8d4 ("drm/amd/amdgpu: introduce gc_*_mes_2.bin v2") > Reserve the MOUDLE_FIRMWARE declaration of gc_11_0_*_mes.bin > to avoid falling back to old mes bin failure via autoload.
typo. Should read: to fix falling back to olad mes bin on failure via autoload. > > Signed-off-by: Li Ma <li...@amd.com> With the above fixed: Reviewed-by: Alex Deucher <alexander.deuc...@amd.com> > --- > drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c > b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c > index 7e8c15cd8dc2..45280f047180 100644 > --- a/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/mes_v11_0.c > @@ -32,14 +32,19 @@ > #include "v11_structs.h" > #include "mes_v11_api_def.h" > > +MODULE_FIRMWARE("amdgpu/gc_11_0_0_mes.bin"); > MODULE_FIRMWARE("amdgpu/gc_11_0_0_mes_2.bin"); > MODULE_FIRMWARE("amdgpu/gc_11_0_0_mes1.bin"); > +MODULE_FIRMWARE("amdgpu/gc_11_0_1_mes.bin"); > MODULE_FIRMWARE("amdgpu/gc_11_0_1_mes_2.bin"); > MODULE_FIRMWARE("amdgpu/gc_11_0_1_mes1.bin"); > +MODULE_FIRMWARE("amdgpu/gc_11_0_2_mes.bin"); > 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.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"); > MODULE_FIRMWARE("amdgpu/gc_11_0_4_mes_2.bin"); > MODULE_FIRMWARE("amdgpu/gc_11_0_4_mes1.bin"); > > -- > 2.25.1 >