]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Fix edp_bootup_bl_level initialization issue
authorLogush Oliver <ollogush@amd.com>
Tue, 8 Jun 2021 19:27:24 +0000 (15:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 08:01:04 +0000 (10:01 +0200)
[ Upstream commit eeb90e26ed05dd44553d557057bf35f08f853af8 ]

[why]
Updating the file to fix the missing line

Signed-off-by: Logush Oliver <ollogush@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c

index 9f9fda3118d1fbc730983f6c1c0f7cea839af408..500bcd0ecf4d21da5c2ab763d747383dc3a87f7a 100644 (file)
@@ -1944,7 +1944,7 @@ static enum bp_result get_integrated_info_v2_1(
                info_v2_1->edp1_info.edp_pwr_down_bloff_to_vary_bloff;
        info->edp1_info.edp_panel_bpc =
                info_v2_1->edp1_info.edp_panel_bpc;
-       info->edp1_info.edp_bootup_bl_level =
+       info->edp1_info.edp_bootup_bl_level = info_v2_1->edp1_info.edp_bootup_bl_level;
 
        info->edp2_info.edp_backlight_pwm_hz =
        le16_to_cpu(info_v2_1->edp2_info.edp_backlight_pwm_hz);