|
@@ -646,6 +646,9 @@ static bool dce110_link_encoder_validate_hdmi_output(
|
|
|
if (!enc110->base.features.flags.bits.HDMI_6GB_EN &&
|
|
|
adjusted_pix_clk_khz >= 300000)
|
|
|
return false;
|
|
|
+ if (enc110->base.ctx->dc->debug.hdmi20_disable &&
|
|
|
+ crtc_timing->pixel_encoding == PIXEL_ENCODING_YCBCR420)
|
|
|
+ return false;
|
|
|
return true;
|
|
|
}
|
|
|
|
|
@@ -773,6 +776,9 @@ void dce110_link_encoder_construct(
|
|
|
__func__,
|
|
|
result);
|
|
|
}
|
|
|
+ if (enc110->base.ctx->dc->debug.hdmi20_disable) {
|
|
|
+ enc110->base.features.flags.bits.HDMI_6GB_EN = 0;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
bool dce110_link_encoder_validate_output_with_stream(
|