drm/amd/display: properly turn autocal off
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 4 Jul 2018 15:31:40 +0000 (11:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:52:33 +0000 (14:52 -0500)
commitec95213112dca6111eb7561ae6384f77017dfd1f
treec1782a8a9f46d990f06e12ca5a938acbe4feaa50
parent522e6b434a61f8be910560969386a2b3ce113c1b
drm/amd/display: properly turn autocal off

[why]
Currently we do not turn off autocal when scaling is in bypass.
In case vbios enalbes auto scale and our first mode set is a non-scaled
mode we have autocal on causing screen corruption.

[how]
moves turning autocal off to be first thing done during scaler setup

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dcn10/dcn10_dpp_dscl.c