drm/amd/display: Load DMUB microcode during early_init
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 3 Jan 2023 21:04:23 +0000 (15:04 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Jan 2023 19:32:57 +0000 (14:32 -0500)
commita7ab345149b8622b1eb9ca4f69529d64cc7d1353
tree5981e8761ca6546c73401b56bacf742530a06abb
parent07dbfc6b102e25087ec345ef2c2eae21c9856f17
drm/amd/display: Load DMUB microcode during early_init

If DMUB is required for an ASIC, ensure that the microcode is available
and validates during early_init.

Any failures will cause the driver to fail to probe before the firmware
framebuffer has been removed.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@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/display/amdgpu_dm/amdgpu_dm.c