linux/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Add function to create 4d19 fixed point 2019-03-19 15:04:02 -05:00
bios drm/amd/display/dc/bios_parser2: Mark expected switch fall-throughs 2019-02-18 18:01:00 -05:00
calcs drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
core drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
dce drm/amd/display: add HW i2c arbitration with dmcu 2019-03-19 15:36:49 -05:00
dce80 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dce100 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dce110 drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
dce112 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dce120 drm/amd/display: Add plane capabilities to dc_caps 2019-03-19 15:04:03 -05:00
dcn10 drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
dml drm/amd/display: implement bounding box update based on uclk breakdown 2019-03-19 15:36:49 -05:00
gpio drm/amd/display: add gpio lock/unlock 2019-02-05 21:16:23 -05:00
inc drm/amd/display: fix up reference clock abstractions 2019-03-19 15:36:49 -05:00
irq
virtual
dc.h drm/amd/display: 3.2.21 2019-03-19 15:36:49 -05:00
dc_bios_types.h drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
dc_ddc_types.h
dc_dp_types.h drm/amd/display: optionally optimize edp link rate based on timing 2019-03-05 15:09:33 -05:00
dc_helper.c drm/amd/display: Refactor reg_set and reg_update. 2019-03-19 15:36:49 -05:00
dc_hw_types.h drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
dc_link.h drm/amd/display: add way to determine if link is active 2019-02-06 13:30:59 -05:00
dc_stream.h drm/amd/display: Refactor for setup periodic interrupt. 2019-02-19 15:58:27 -05:00
dc_types.h drm/amd/display: Add PSR SMU Interrupt support 2019-03-19 15:36:49 -05:00
dm_event_log.h
dm_helpers.h drm/amd/display: Poll pending DOWN_REP before enabling the link 2019-03-19 15:04:02 -05:00
dm_pp_smu.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
dm_services.h drm/amd/display: Refactor reg_set and reg_update. 2019-03-19 15:36:49 -05:00
dm_services_types.h drm/amd/display: PPLIB Hookup 2019-03-05 15:09:32 -05:00
irq_types.h drm/amd/display: Add Vline1 interrupt source to InterruptManager 2019-01-28 11:44:10 -05:00
Makefile drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
os_types.h