From: Yu-Ting Shen Date: Tue, 6 Oct 2020 05:36:56 +0000 (+0800) Subject: drm/amd/display: disable seamless boot for VSC_SDP X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=da52f579d9481b71525bf23838284db1338163a6;p=linux.git drm/amd/display: disable seamless boot for VSC_SDP [WHY] VBIOS will not enable VSC_SDP during pre-OS to lead MISC1[6] wasn't matched with driver. [HOW] disabled seamless boot if sink supports VSC_SDP Signed-off-by: Yu-Ting Shen Acked-by: Aurabindo Pillai 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 8f4738b099229..21423ebc9c041 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c @@ -1264,6 +1264,10 @@ bool dc_validate_seamless_boot_timing(const struct dc *dc, return false; } + if (link->dpcd_caps.dprx_feature.bits.VSC_SDP_COLORIMETRY_SUPPORTED) { + return false; + } + return true; }