drm/amd/display: disable seamless boot for DP MST
authorAnthony Wang <anthony1.wang@amd.com>
Tue, 9 Feb 2021 19:42:35 +0000 (14:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 22 Feb 2021 23:05:23 +0000 (18:05 -0500)
[Why]
Seamless boot over DP MST is not POR, but is not explicitly disabled.

[How]
Add check for DP MST and return false in
dc_validate_seamless_boot_timing.

Signed-off-by: Anthony Wang <anthony1.wang@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@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 702c266e60f8e005b28f471184daff6373c2355e..03882004e9359561654ba73451045fc375abb393 100644 (file)
@@ -1213,8 +1213,9 @@ bool dc_validate_seamless_boot_timing(const struct dc *dc,
        unsigned int i, enc_inst, tg_inst = 0;
 
        // Seamless port only support single DP and EDP so far
-       if (sink->sink_signal != SIGNAL_TYPE_DISPLAY_PORT &&
-               sink->sink_signal != SIGNAL_TYPE_EDP)
+       if ((sink->sink_signal != SIGNAL_TYPE_DISPLAY_PORT &&
+               sink->sink_signal != SIGNAL_TYPE_EDP) ||
+               sink->sink_signal == SIGNAL_TYPE_DISPLAY_PORT_MST)
                return false;
 
        /* Check for enabled DIG to identify enabled display */