drm/amd/display: fix incorrect vp adjustment
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 8 Mar 2017 18:45:33 +0000 (13:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:18:57 +0000 (17:18 -0400)
commitc802570ed5a679c3c58fdde4b23d494bd884efc9
tree28c8f2b59e4956e6b83897ae7f236c330bb48902
parentc0bc0bd587a6f98fd1e2264a4fc2af49039627b6
drm/amd/display: fix incorrect vp adjustment

Viewport would be incorrectly adjusted when surface was used
for multiple displays

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c