Commit 7cd69b95 authored by Anthony Wang's avatar Anthony Wang Committed by Alex Deucher

drm/amd/display: Add DSC check to seamless boot validation

[Why & How]
We want to immediately fail seamless boot validation if DSC is active,
as VBIOS currently does not support DSC timings. Add a check for
the relevant flag in dc_validate_seamless_boot_timing.
Signed-off-by: default avatarAnthony Wang <anthony1.wang@amd.com>
Reviewed-by: default avatarMartin Leung <Martin.Leung@amd.com>
Acked-by: default avatarAurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 19cc1f38
...@@ -1400,6 +1400,10 @@ bool dc_validate_seamless_boot_timing(const struct dc *dc, ...@@ -1400,6 +1400,10 @@ bool dc_validate_seamless_boot_timing(const struct dc *dc,
if (crtc_timing->v_sync_width != hw_crtc_timing.v_sync_width) if (crtc_timing->v_sync_width != hw_crtc_timing.v_sync_width)
return false; return false;
/* block DSC for now, as VBIOS does not currently support DSC timings */
if (crtc_timing->flags.DSC)
return false;
if (dc_is_dp_signal(link->connector_signal)) { if (dc_is_dp_signal(link->connector_signal)) {
unsigned int pix_clk_100hz; unsigned int pix_clk_100hz;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment