]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: upgrade scaler math
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Thu, 3 May 2018 17:42:43 +0000 (13:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Jun 2018 17:20:22 +0000 (12:20 -0500)
commit0a30e0617240352837ff72bf0c7e1442c71e59c1
tree5858064af84eab9c643d4a9617f7ed1848104d07
parent53336897690cba72472ab1cfe188bbe5673fc2fd
drm/amd/display: upgrade scaler math

This change will allow the viewport overlap to apply to rotated/
mirrored surfaces. Viewport overlap results in extra pixels being
added to viewport allowing the first few pixels to be scaled as
if there is no cut-off(mpo or pipe split) and allows us to get matching
crc's between scaled split and unsplit outputs of the same thing.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@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