diff options
author | Zeyu Fan <Zeyu.Fan@amd.com> | 2017-02-10 11:59:31 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:14:27 -0400 |
commit | 27e947b0e13835cb782aa267b7d77e1f5a028e87 (patch) | |
tree | 119189dcdba1ae98b5ca74751b445bde60a28d20 | |
parent | 8f16f28936afcf68b92625d331a8ca760a386139 (diff) | |
download | linux-27e947b0e13835cb782aa267b7d77e1f5a028e87.tar.bz2 |
drm/amd/display: Fix program pix clk logic to unblock deep color set.
Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c index a9f39218ce82..87eba4be3249 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c @@ -854,16 +854,16 @@ static bool dce110_program_pix_clk( if (clock_source->id != CLOCK_SOURCE_ID_EXTERNAL && pix_clk_params->flags.ENABLE_SS && !dc_is_dp_signal( pix_clk_params->signal_type)) { - if (!enable_spread_spectrum(clk_src, pix_clk_params->signal_type, pll_settings)) return false; - /* Resync deep color DTO */ - dce110_program_pixel_clk_resync(clk_src, - pix_clk_params->signal_type, - pix_clk_params->color_depth); } + /* Resync deep color DTO */ + dce110_program_pixel_clk_resync(clk_src, + pix_clk_params->signal_type, + pix_clk_params->color_depth); + break; case DCE_VERSION_11_2: if (clock_source->id != CLOCK_SOURCE_ID_DP_DTO) { |