]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd: Move microcode init from sw_init to early_init for SDMA v2.4
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 25 Sep 2023 19:02:10 +0000 (14:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Sep 2023 19:38:11 +0000 (15:38 -0400)
commit751e293f2c998eda03004f9b351b0b6bdc335bd9
tree89ceadd50caf8b469bc86a2d78b9b3d0128a79d0
parentcc766304833d1b44a705330383bf2ccee80ab554
drm/amd: Move microcode init from sw_init to early_init for SDMA v2.4

As part of IP discovery early_init is run for all HW IP blocks.
During this phase all firmware is supposed to be identified that may
be missing so that the driver can avoid releasing resources used by
the EFI framebuffer or simpledrm until the last possible moment.

Move microcode loading from sw_init to early_init.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c