drm/amd/display: fix bw_calc_auto translation error
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 21 Jun 2017 21:27:59 +0000 (17:27 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:12 +0000 (18:08 -0400)
commitafa80d64d20ac13528c261e1233ac3982609fd2f
tree0c056d4c7bdbeb760472d2f6bd5b0caed1abe37f
parentf0129a537b52da851abd26f8296f3ffd1e5dc424
drm/amd/display: fix bw_calc_auto translation error

The compiler was warning about conditions that will never evaluate
to true. The problem was that the VBA translater didn't translate
the conditions correctly.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c