drm/amd/display: Add wm ranges to clk_mgr
authorSung Lee <sung.lee@amd.com>
Thu, 23 Jan 2020 20:31:43 +0000 (15:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Feb 2020 20:04:37 +0000 (15:04 -0500)
commitc788739b8807a54b4f445f2c2854d37b61db49c2
treec37d09ca8c0d29266133660779b26f4b36347b78
parent32caf906187dee2f895a469f7d9f0a8e6e43e287
drm/amd/display: Add wm ranges to clk_mgr

[WHY & HOW]
Having watermark ranges saved inside clk_mgr to be
available for debug at all times would be useful.
Add it to the clk_mgr_internal struct for reference.
Only populated for Renoir, unused for other asics.

Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@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/inc/hw/clk_mgr.h