linux/drivers/gpu/drm/amd/display/dc/calcs
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
..
bw_fixed.c amdgpu/dc: allow inlining constant int to fixed a lot better. 2017-09-29 13:03:35 -04:00
calcs_logger.h drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00
custom_float.c drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
dce_calcs.c drm/amd/display: Use 100 Hz precision for pipe pixel clocks 2019-01-14 15:04:39 -05:00
dcn_calc_auto.c drm/amdgpu/display: fix compiler errors [-Werror,-Wparentheses-equality] 2019-02-06 13:29:19 -05:00
dcn_calc_auto.h drm/amdgpu/display: Add calcs code for DCN 2017-09-26 18:06:47 -04:00
dcn_calc_math.c drm/amd/display: Add disclaimer to BW and DML code provided by HW 2017-12-14 10:55:02 -05:00
dcn_calc_math.h Revert "amdgpu/dc: inline a bunch of float operations." 2017-10-21 16:45:17 -04:00
dcn_calcs.c drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
Makefile Revert "drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines" 2019-01-29 15:16:18 -05:00