From: Anthony Wang <[email protected]>

[Why]
Primary feature use case is with eDP panels.

[How]
Fail seamless boot validation if display is not an eDP panel.

Signed-off-by: Anthony Wang <[email protected]>
Reviewed-by: Martin Leung <[email protected]>
Acked-by: Aurabindo Pillai <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/core/dc.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c 
b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 724ddce8aa41..ee4970491d7b 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -1323,11 +1323,10 @@ bool dc_validate_seamless_boot_timing(const struct dc 
*dc,
        struct dc_link *link = sink->link;
        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) ||
-               sink->sink_signal == SIGNAL_TYPE_DISPLAY_PORT_MST)
+       /* Support seamless boot on EDP displays only */
+       if (sink->sink_signal != SIGNAL_TYPE_EDP) {
                return false;
+       }
 
        /* Check for enabled DIG to identify enabled display */
        if (!link->link_enc->funcs->is_dig_enabled(link->link_enc))
-- 
2.31.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to