From: Tony Cheng Date: Thu, 5 Jan 2017 17:59:34 +0000 (-0500) Subject: drm/amd/display: remove HDMI deep color debug flag X-Git-Tag: v4.15-rc1~56^2~23^2~792 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c87af595c03e73cc3175cf282858af22b374e20c;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: remove HDMI deep color debug flag Signed-off-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 64002268818aa..e8cb7a4dee801 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -149,7 +149,6 @@ struct dc_debug { bool disable_power_gate; bool disable_clock_gate; bool disable_dmcu; - bool disable_hdmi_deep_color; bool disable_color_module; }; diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c index 81144586995a6..c08337696cf8e 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c @@ -949,9 +949,6 @@ bool dce110_link_encoder_construct( enc110->base.transmitter = init_data->transmitter; - 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 * while doing the DP sink detect */