drm/amd/display: fix dml max voltage state
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 10 Oct 2018 16:55:24 +0000 (12:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:33 +0000 (14:21 -0500)
commit8d6da3bbfd959a92bc4a20d6b8ad596f2bee033e
tree51fb33bbbadb7df6dd1eda921c842bc535fec63c
parentb76dfbef061acc29b74cc61e9fbbb60537edcc55
drm/amd/display: fix dml max voltage state

Gabe's formula sometimes uses values from non-existent 'unsupported'
state to do validation.

This change adds this extra state so validation can work correctly.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h