OSDN Git Service

drm/amd/display: disable seamless boot for VSC_SDP
authorYu-Ting Shen <Yu-ting.Shen@amd.com>
Tue, 6 Oct 2020 05:36:56 +0000 (13:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:32:25 +0000 (13:32 -0400)
[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 <Yu-ting.Shen@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c

index 8f4738b..21423eb 100644 (file)
@@ -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;
 }