Commit dc0bcaf2 authored by Tony Cheng's avatar Tony Cheng Committed by Alex Deucher

drm/amd/display: debug opt disable hdmi deep color

Signed-off-by: default avatarTony Cheng <tony.cheng@amd.com>
Reviewed-by: default avatarYongqiang Sun <yongqiang.sun@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1646a6fe
...@@ -147,6 +147,7 @@ struct dc_debug { ...@@ -147,6 +147,7 @@ struct dc_debug {
bool disable_power_gate; bool disable_power_gate;
bool disable_clock_gate; bool disable_clock_gate;
bool disable_dmcu; bool disable_dmcu;
bool disable_hdmi_deep_color;
}; };
struct dc { struct dc {
......
...@@ -993,6 +993,9 @@ bool dce110_link_encoder_construct( ...@@ -993,6 +993,9 @@ bool dce110_link_encoder_construct(
enc110->base.features.max_deep_color = COLOR_DEPTH_121212; enc110->base.features.max_deep_color = COLOR_DEPTH_121212;
enc110->base.features.max_hdmi_deep_color = COLOR_DEPTH_121212; enc110->base.features.max_hdmi_deep_color = COLOR_DEPTH_121212;
if (enc110->base.ctx->dc->debug.disable_hdmi_deep_color)
enc110->base.features.max_hdmi_deep_color = COLOR_DEPTH_888;
/* set the flag to indicate whether driver poll the I2C data pin /* set the flag to indicate whether driver poll the I2C data pin
* while doing the DP sink detect * while doing the DP sink detect
*/ */
......
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