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>
Tue, 17 Sep 2019 19:39:55 +0000 (14:39 -0500)
commite42a34dec68950ebad7904f235ed2dfff5bb27b5
treea648bfcb2e50ec93b30f79c50c4917a1ab2e5e8a
parent8ad050e6a67822a4adf1e22f396e141b3deaf8ef
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