mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 08:25:20 +07:00
3972c35085
[Why] VTG has a parameter FP2, which is defined as: if VSTARTUP is before VSYNC: FP2 = number of lines in between VSTARTUP and VSYNC else FP2 = 0 Currently, FP2 is only programmed during "program_timing". However, the position of VSTARTUP is affected by the prefetching requirements on all pipes, so the position might change when we do memory request control on another pipe, so we need to make sure that FP2 stays up-to-date whenever we adjust VSTARTUP. [How] - refactor VTG_CONTROL programming into a new function "set_vtg_params" - call it after calling "program_global_sync" - make sure it's called after because it relies on the cached dlg params Signed-off-by: Joshua Aberback <joshua.aberback@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Acked-by: Jun Lei <Jun.Lei@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
---|---|---|
.. | ||
dcn20_dccg.c | ||
dcn20_dccg.h | ||
dcn20_dpp_cm.c | ||
dcn20_dpp.c | ||
dcn20_dpp.h | ||
dcn20_dsc.c | ||
dcn20_dsc.h | ||
dcn20_dwb_scl.c | ||
dcn20_dwb.c | ||
dcn20_dwb.h | ||
dcn20_hubbub.c | ||
dcn20_hubbub.h | ||
dcn20_hubp.c | ||
dcn20_hubp.h | ||
dcn20_hwseq.c | ||
dcn20_hwseq.h | ||
dcn20_link_encoder.c | ||
dcn20_link_encoder.h | ||
dcn20_mmhubbub.c | ||
dcn20_mmhubbub.h | ||
dcn20_mpc.c | ||
dcn20_mpc.h | ||
dcn20_opp.c | ||
dcn20_opp.h | ||
dcn20_optc.c | ||
dcn20_optc.h | ||
dcn20_resource.c | ||
dcn20_resource.h | ||
dcn20_stream_encoder.c | ||
dcn20_stream_encoder.h | ||
dcn20_vmid.c | ||
dcn20_vmid.h | ||
Makefile |