drm/amd/display: Implement voltage limitation stub
authorJoseph Gravenor <joseph.gravenor@amd.com>
Tue, 30 Jul 2019 20:37:35 +0000 (16:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:37:54 +0000 (11:37 -0500)
commit387ad34cb7ffa589464c3ff77e5adb49026c15b4
tree9a3e08d02cb1cb0606bbeb5ead8d389aa22c8553
parentddef02de0d71d483ad4398393717cc0d53fc990a
drm/amd/display: Implement voltage limitation stub

add new function to get the voltage at the end of
dcn_validate_bandwidth, to check against the
highest voltage we allow.

Created a stub to allow for optimizations

Signed-off-by: Joseph Gravenor <joseph.gravenor@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Acked-by: Sun peng Li <Sunpeng.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c