drm/amd/display: fix recout_skip calculation when rotating 180 or 270
authorYongqiang Sun <yongqiang.sun@amd.com>
Tue, 21 Nov 2017 18:45:51 +0000 (13:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Dec 2017 15:54:12 +0000 (10:54 -0500)
commit0c31a8218b80da4220757a0eff2d4f7c1229842d
treead7bb8cfb815ab62c87d56efa0029170e9fece48
parentee016c4b5a0f150e8a71a7ed9efb1477fdf090ca
drm/amd/display: fix recout_skip calculation when rotating 180 or 270

Fixed fliped landscape and fliped portrait hard hang.

Signed-off-by: Yongqiang Sun <yongqiang.sun@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/core/dc_resource.c