This patch is Reviewed-by: James Zhu <James.Zhu@xxxxxxx> Tested-by: James Zhu <James.Zhu@xxxxxxx> On 2019-02-13 3:10 p.m., Alex Deucher via amd-gfx wrote: > Missing firmware declaration caused firmware requirement to > not be noted by the module and may cause firmware to not > be available in initrd. > > Fixes: bc4b539e385088 "drm/amdgpu: remove old CI DPM implementation" > Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> > --- > drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c > index a6edd5df33b0..4240aeec9000 100644 > --- a/drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c > +++ b/drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c > @@ -29,6 +29,10 @@ > #include <drm/amdgpu_drm.h> > #include "smumgr.h" > > +MODULE_FIRMWARE("amdgpu/bonaire_smc.bin"); > +MODULE_FIRMWARE("amdgpu/bonaire_k_smc.bin"); > +MODULE_FIRMWARE("amdgpu/hawaii_smc.bin"); > +MODULE_FIRMWARE("amdgpu/hawaii_k_smc.bin"); > MODULE_FIRMWARE("amdgpu/topaz_smc.bin"); > MODULE_FIRMWARE("amdgpu/topaz_k_smc.bin"); > MODULE_FIRMWARE("amdgpu/tonga_smc.bin"); _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx