drm/amd/display: Fix increment when sampling OTF in DCE
authorLeo (Sunpeng) Li <sunpeng.li@amd.com>
Fri, 9 Feb 2018 17:51:01 +0000 (12:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:20:17 +0000 (14:20 -0500)
commitec47734a6d0e82c132e3e0883f2f663f138da43a
treedc80ee3bfdbd4c2a5710de99d4d583c790ddec09
parent792474b736274fd698d39708a729b41098ae28de
drm/amd/display: Fix increment when sampling OTF in DCE

Previously, the number of software segmets per region was reduced to 16.
This needs to be reflected in the sampling distance (increment) used when
translating to the hardware format.

Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@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/dce110/dce110_hw_sequencer.c