]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Oct 2023 21:08:56 +0000 (23:08 +0200)
commit 23645bca98304a2772f0de96f97370dd567d0ae6 upstream.

[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 16c05a24ac7aa5819b2bd8e0d2816ce2bd83dabe..15d3caf3d6d72bf952eaba15c25f418c5d2e0fca 100644 (file)
@@ -1183,6 +1183,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;