From: Daniel Miess Date: Fri, 29 Sep 2023 17:04:33 +0000 (-0400) Subject: drm/amd/display: Don't set dpms_off for seamless boot X-Git-Tag: v6.7-rc1~145^2~10^2~83 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef013f6fcd8affaae4a5bf4b51cb6244c8a2ed3f;p=thirdparty%2Fkernel%2Flinux.git 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 Cc: Mario Limonciello Cc: Alex Deucher Cc: stable@vger.kernel.org Acked-by: Tom Chung Signed-off-by: Daniel Miess Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c index f9aac215ef1ff..00d6fce5b7665 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1232,6 +1232,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;