OSDN Git Service

drm/amd: Load SMU microcode during early_init
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 3 Jan 2023 21:43:27 +0000 (15:43 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jan 2023 19:32:57 +0000 (14:32 -0500)
commit32806038aa7634635eb46f941979b6f6fda5a462
tree3e86a5d4faba8e77c6783ac597216e9c9be60aca
parent315d1716d64e61bd5c8ad13a725ada6c8a4574b9
drm/amd: Load SMU microcode during early_init

This will ensure that the microcode is available before the firmware
framebuffer has been destroyed.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c