drm/amd/display: Implement voltage limitation for dali
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Fri, 6 Sep 2019 20:32:44 +0000 (16:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:06:48 +0000 (10:06 -0500)
commitd1082e23eede4f5cd75c90fb93cbb46633f4a737
tree6d8a2eeedacfc03839f019b29d465296948bf502
parentc4cacce7850042ad6b65d518d47497c0ae70c8b6
drm/amd/display: Implement voltage limitation for dali

[Why]
we only want the lowest voltage to be available for dali.

[How]
Use the get_highest_allowed_voltage_level function
to return 0 for dali

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c