drm/amd/display: fix check condition for edp power control
authorEric Yang <Eric.Yang2@amd.com>
Tue, 27 Feb 2018 20:34:30 +0000 (15:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Mar 2018 20:08:44 +0000 (15:08 -0500)
commitd03f3f6304336b85737d77393d55cd4d89154c72
treeeac6ec722deb6942786dbc11a5494df345a0d39d
parent90e3103e1966c5553b2a0ba9e699b9bf2fdb5ae7
drm/amd/display: fix check condition for edp power control

Per discussion with VBIOS team, the orginal check is not correct in
all cases on latest VBIOS. Additional check is needed. This change should
maintain old behaviour on older VBIOS.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@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/dce/dce_hwseq.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c