drm/amd/display: move wm ranges reporting to end of init hw
authorEric Yang <Eric.Yang2@amd.com>
Tue, 24 Sep 2019 16:02:38 +0000 (12:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Oct 2019 20:50:09 +0000 (16:50 -0400)
commit622a88c8259e2e517e7145595715d661774c859e
tree0aa49d078271cb28c7ccf924689dbec1822a35be
parent0460f9abf275ef3cdab4c531bfa06e2552f5e1c3
drm/amd/display: move wm ranges reporting to end of init hw

[Why]
SMU does not keep the wm table across S3, S4, need to re-send
the table. Also defer sending the cable to after DCN bave initialized

[How]
Send table at end of init hw

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@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/dcn21/rn_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h