linux/drivers/gpu/drm/amd/display/dc/dce110
Jun Lei 33d7598d70 drm/amd/display: fix up reference clock abstractions
[why]
"reference clock" is a very overloaded variable in DC and causes confusion
as there are multiple sources of reference clock, which may be different values
incorrect input values to DML will cause DCHUB to be programmed improperly
and lead to hard to debug underflow issues

[how]
instead of using ref clock everywhere, specify WHICH ref clock:
- xtalin
- dccg refclk
- dchub refclk

these are all distinct values which may not be equal

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: David Francis <David.Francis@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-03-19 15:36:49 -05:00
..
dce110_compressor.c amdgpu/dc: remove various variables that are defined but never used 2019-01-14 15:04:43 -05:00
dce110_compressor.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_hw_sequencer.c drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
dce110_hw_sequencer.h drm/amd/display: remove safe_to_lower flag from dc, use 2 functions instead 2018-11-05 14:20:40 -05:00
dce110_mem_input_v.c drm/amd/display: make function tables const 2018-07-10 14:17:11 -05:00
dce110_mem_input_v.h drm/amd/display: dce 8 - 12 mem_input refactor to new style 2017-09-26 18:07:12 -04:00
dce110_opp_csc_v.c amdgpu/dc: Fix enum mismatch in calls to program_color_matrix() 2018-02-19 14:19:44 -05:00
dce110_opp_regamma_v.c drm/amd/display: Remove extra arr_points element 2017-12-06 12:47:36 -05:00
dce110_opp_v.c amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_opp_v.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_resource.c drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dce110_resource.h amdgpu/dc: remove pointless return from build_pipe_hw_param 2017-09-29 13:02:41 -04:00
dce110_timing_generator.c drm/amd/display: Program v_total_min/max after v_total_cntl 2018-04-11 13:08:03 -05:00
dce110_timing_generator.h drm/amd/display: Expose DCE110 CRC functions for DCE8 2018-02-19 14:20:10 -05:00
dce110_timing_generator_v.c drm/amd/display: remove dummy is_blanked() to optimise boot time 2018-05-15 13:43:07 -05:00
dce110_timing_generator_v.h amdgpu/dc: another round of dce/dcn construct cleanups. 2017-09-29 13:02:34 -04:00
dce110_transform_v.c drm/amd/display: add HDR visual confirm 2018-07-16 16:11:49 -05:00
dce110_transform_v.h amdgpu/dc: make program_regamma_pwl return void 2017-09-29 13:02:08 -04:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00