OSDN Git Service

drm/amd/display: populate bios integrated info for renoir
authorJoseph Gravenor <joseph.gravenor@amd.com>
Fri, 8 Nov 2019 00:20:00 +0000 (19:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:28:30 +0000 (16:28 -0500)
commit01290a5766e1be38ee9f114d261bee263b168ab4
tree9039c61501b68556166d4866e48e27c9ace1a48e
parentc1825b5777ce25b0f84be8775a588d2bfa1e6420
drm/amd/display: populate bios integrated info for renoir

[Why]
When video_memory_type bw_params->vram_type
is assigned, wedistinguish between Ddr4MemType and LpDdr4MemType.
Because of this we will never report that we are using
LpDdr4MemType and never re-purpose WM set D

[How]
populate bios integrated info for renoir by adding the
revision number for renoir and use that integrated info
table instead of of asic_id to get the vram type

Signed-off-by: Joseph Gravenor <joseph.gravenor@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/bios/bios_parser2.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c