linux/drivers/gpu/drm/amd/display/dc
Hugo Hu 132c894e93 drm/amd/display: treat memory as a single-channel for asymmetric memory V3
Previous patch caused crash and had been reverted. This patch
addresses the issue without regression.

[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.

Signed-off-by: Hugo Hu <hugo.hu@amd.com>
Reviewed-by: Sung Lee <Sung.Lee@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-19 22:38:24 -04:00
..
basics Revert "drm/amd/display: Unblank hubp based on plane visibility" 2021-02-18 16:43:10 -05:00
bios drm/amd/display: Add new case to get spread spectrum info 2021-04-28 23:35:50 -04:00
calcs drm/amd/display/dc/calcs/dce_calcs: Remove some large variables from the stack 2021-04-09 16:38:16 -04:00
clk_mgr drm/amd/display: treat memory as a single-channel for asymmetric memory V3 2021-05-19 22:38:24 -04:00
core drm/amd/display: remove unused function dc_link_perform_link_training 2021-05-10 18:14:18 -04:00
dce drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
dce60
dce80 drm/amd/display/dc/dce80/dce80_resource: Make local functions static 2021-04-09 16:38:05 -04:00
dce100
dce110 drm/amd/display: Add link rate optimization logs for ILR 2021-04-20 21:41:28 -04:00
dce112
dce120
dcn10 drm/amd/display: fix use_max_lb flag for 420 pixel formats 2021-05-10 18:11:09 -04:00
dcn20 drm/amd/display: Delete several unneeded bool conversions 2021-05-11 09:44:35 -04:00
dcn21 drm/amd/display: Fix clock table filling logic 2021-05-10 18:10:49 -04:00
dcn30 drm/amd/display: Delete several unneeded bool conversions 2021-05-11 09:44:35 -04:00
dcn301 drm/amd/display: Connect clock optimization function to dcn301 2021-04-15 16:31:52 -04:00
dcn302 drm/amd/display: Update DCN302 SR Exit Latency 2021-04-09 16:54:57 -04:00
dml drm/amd/display: DETBufferSizeInKbyte variable type modifications 2021-05-10 18:10:34 -04:00
dsc drm/amd/display: add dsc stream overhead for dp only 2021-05-10 18:06:44 -04:00
gpio drm/amd/display: remove duplicate include in dcn21 and gpio 2021-03-23 23:03:32 -04:00
hdcp drm/amd/display: Fix off by one in hdmi_14_process_transaction() 2021-03-03 10:51:37 -05:00
inc drm/amd/display: Expand DP module training API. 2021-05-10 18:10:08 -04:00
irq drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
virtual
dc_bios_types.h drm/amd/display: Interface for LTTPR interop 2021-04-09 16:48:25 -04:00
dc_ddc_types.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dc_dmub_srv.c drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
dc_dmub_srv.h drm/amd/display: Fixed read/write pointer issue for get dmub trace 2021-03-23 23:02:46 -04:00
dc_dp_types.h drm/amd/display: minor dp link training refactor 2021-05-10 18:10:42 -04:00
dc_dsc.h drm/amd/display: add dsc stream overhead for dp only 2021-05-10 18:06:44 -04:00
dc_edid_parser.c
dc_edid_parser.h
dc_helper.c
dc_hw_types.h drm/amd/display: add dsc stream overhead for dp only 2021-05-10 18:06:44 -04:00
dc_link.h drm/amd/display: remove unused function dc_link_perform_link_training 2021-05-10 18:14:18 -04:00
dc_stat.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dc_stream.h drm/amd/display: Remove unused flag from stream state 2021-04-15 16:31:44 -04:00
dc_trace.h
dc_types.h drm/amd/display: Add audio support for DFP type of active branch is DP case 2021-05-10 18:06:44 -04:00
dc.h drm/amd/display: treat memory as a single-channel for asymmetric memory V3 2021-05-19 22:38:24 -04:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
dm_pp_smu.h
dm_services_types.h
dm_services.h
irq_types.h drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
Makefile drm/amd/display: Support for DMUB AUX 2021-05-10 18:06:44 -04:00
os_types.h