drm/amd/powrplay: add interface for dc to get max clock values
authorhersen wu <hersenxs.wu@amd.com>
Tue, 21 May 2019 17:07:57 +0000 (13:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 22 Jun 2019 14:33:44 +0000 (09:33 -0500)
commita18bf0ca41a9a40cb80b9118eac045e7087a18db
tree2b98e8b5764029ddd9c321d05c1f7a4762942a26
parent6fbefb84a98ecc43cb4035c44fe417e6751ddd83
drm/amd/powrplay: add interface for dc to get max clock values

dc (display component) needs maximum clock values of uclock,
socclk, dcefclk, to calculate display bandwidth.

Signed-off-by: hersen wu <hersenxs.wu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c