]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add missing HBM support and raise Vega20's uclk.
authorZhan Liu <zhan.liu@amd.com>
Thu, 22 Aug 2019 18:54:18 +0000 (14:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:10:57 +0000 (09:10 -0500)
commit30d0b1a91ea7c2326cd9475914344dc0dda2ce0a
tree602469e6cb3a6dc04bcbdc07fedbf17b02b8062e
parentc1eb767a06213d0fd45d8c15b5fa301705db0fe9
drm/amd/display: Add missing HBM support and raise Vega20's uclk.

[Why]
When more than 2 displays are connected to the graphics card,
only the minimum memory clock is needed. However, when more
displays are connected, the minimum memory clock is not
sufficient enough to support the overwhelming bandwidth.
System will hang under this circumstance.

Also, the old code didn't address HBM cards, which has 2
pseudo channels. We need to add the HBM part here.

[How]
When graphics card connects to 2 or more displays,
switch to high memory clock. Also, choose memory
multiplier based on whether its regular DRAM or HBM.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c