drm/amd/display: remove HDMI deep color debug flag
authorTony Cheng <tony.cheng@amd.com>
Thu, 5 Jan 2017 17:59:34 +0000 (12:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:08:55 +0000 (17:08 -0400)
Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c

index 6400226..e8cb7a4 100644 (file)
@@ -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;
 };
 
index 8114458..c083376 100644 (file)
@@ -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
         */