drm/amd/display: dont set otg offset
authorJun Lei <Jun.Lei@amd.com>
Tue, 30 Apr 2019 20:22:38 +0000 (16:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:00 +0000 (12:21 -0500)
commitccd76ebce4e8e1e19df19bc7024355a1f82a9363
tree1f5e7f2f43a4bf161389c7670188fdbf1b177032
parentaa5fdb1ab5b6559ce6ebe11dd78177c8487f02e0
drm/amd/display: dont set  otg offset

move the update of otg instance outside of hw programming logic,
since this is sw state, it should always be updated and should
never be optimized away.

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c