linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21
Hugo Hu 9c82354e89 drm/amd/display: treat memory as a single-channel for asymmetric memory v2
Previous change had been reverted since it caused hang.
Remake change to avoid defect.

[Why]
1. Driver use umachannelnumber to calculate watermarks for stutter.
In asymmetric memory config, the actual bandwidth is less than
dual-channel. The bandwidth should be the same as single-channel.
2. We found single rank dimm need additional delay time for stutter.

[How]
Get information from each DIMM. Treat memory config as a single-channel
for asymmetric memory in bandwidth calculating.
Add additional delay time for single rank dimm.

Fixes: b8720ed0b8 ("drm/amd/display: System black screen hangs on driver load")
Signed-off-by: Hugo Hu <hugo.hu@amd.com>
Reviewed-by: Sung Lee <Sung.Lee@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-04-20 21:38:40 -04:00
..
rn_clk_mgr_vbios_smu.c drm/amd/display: change SMU repsonse timeout to 2s. 2020-12-23 15:01:53 -05:00
rn_clk_mgr_vbios_smu.h drm/amd/display: reduce sr_xxx_time by 3 us when ppt disable 2020-07-14 14:34:08 -04:00
rn_clk_mgr.c drm/amd/display: treat memory as a single-channel for asymmetric memory v2 2021-04-20 21:38:40 -04:00
rn_clk_mgr.h drm/amd/display: move dispclk vco freq to clk mgr base 2019-10-25 16:50:08 -04:00