[PATCH 13/16] drm/amd/display: Don't set dpms_off for seamless boot

Limonciello, Mario Mario.Limonciello at amd.com
Wed Oct 4 16:54:01 UTC 2023


[AMD Official Use Only - General]

> From: Daniel Miess <daniel.miess at amd.com>
>
> [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 at amd.com>
> Cc: Mario Limonciello <mario.limonciello at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Cc: stable at vger.kernel.org
> Acked-by: Tom Chung <chiahsuan.chung at amd.com>
> Signed-off-by: Daniel Miess <daniel.miess at amd.com>
> ---
>  drivers/gpu/drm/amd/display/dc/core/dc.c | 3 +++
>  1 file changed, 3 insertions(+)

Feifei,

Can you recheck seamless boot on DCN3.2 after this lands into amd-staging-drm-next?
If it works, we may remove the check to only apply it to APUs.

>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c
> b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index bd4834f921c1..88d41bf6d53a 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> @@ -1230,6 +1230,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;
> --
> 2.25.1



More information about the amd-gfx mailing list