[PATCH 7/8] drm/amd/display: remove HDMI deep color debug flag

Harry Wentland harry.wentland at amd.com
Sat Jan 7 00:22:29 UTC 2017


From: Tony Cheng <tony.cheng at amd.com>

Change-Id: I509f7524c9e6dd35521b500cf6b52a9be2743f95
Signed-off-by: Tony Cheng <tony.cheng at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dc.h                   | 1 -
 drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 64002268818a..e8cb7a4dee80 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 81144586995a..c08337696cf8 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
 	 */
-- 
2.9.3



More information about the amd-gfx mailing list