aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Miess <daniel.miess@amd.com>2023-09-29 13:04:33 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-10-09 17:59:29 -0400
commit23645bca98304a2772f0de96f97370dd567d0ae6 (patch)
tree9aef6290e12de78b151550277a7ebce5a378a565
parent94f6f0550c625fab1f373bb86a6669b45e9748b3 (diff)
downloadlinux-23645bca98304a2772f0de96f97370dd567d0ae6.tar.gz
drm/amd/display: Don't set dpms_off for seamless boot
[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>
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 3a9077b60029ba..d08e60dff46deb 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -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;