drm/amd/display: Don't set dpms_off for seamless boot
authorDaniel Miess <daniel.miess@amd.com>
Fri, 29 Sep 2023 17:04:33 +0000 (13:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2023 21:59:29 +0000 (17:59 -0400)
[Why]
eDPs fail to light up with seamless boot enabled

[How]
When seamless boot is enabled don't configure dpms_off
in disable_vbios_mode_if_required.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Daniel Miess <daniel.miess@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 3a9077b..d08e60d 100644 (file)
@@ -1262,6 +1262,9 @@ static void disable_vbios_mode_if_required(
                if (stream == NULL)
                        continue;
 
+               if (stream->apply_seamless_boot_optimization)
+                       continue;
+
                // only looking for first odm pipe
                if (pipe->prev_odm_pipe)
                        continue;