OSDN Git Service

drm/amd/display: fix DalDramClockChangeLatencyNs override
authorJoseph Gravenor <joseph.gravenor@amd.com>
Mon, 4 Nov 2019 21:39:35 +0000 (16:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 23:15:30 +0000 (18:15 -0500)
commitaa4febf5098572649846b4f28a2609233388c412
tree533566b0c22631ce2719fa530c1a38b7cbbe16cc
parenta1fc44b609b4e9c0941f0e4a1fc69d367af5ab69
drm/amd/display: fix DalDramClockChangeLatencyNs override

[why]
pstate_latency_us never gets updated from the hard coded value
in rn_clk_mgr.c

[how]
update the wm table's values before we do calculations with them

Signed-off-by: Joseph Gravenor <joseph.gravenor@amd.com>
Reviewed-by: Eric Yang <eric.yang2@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/dcn21/dcn21_resource.c