From: Anthony Wang <anthony1.w...@amd.com>

[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.w...@amd.com>
Acked-by: Bindu Ramamurthy <bind...@amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c 
b/drivers/gpu/drm/amd/display/dc/core/dc.c
index e2cc1a141131..2f56fa2c0bf4 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -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 */
-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to