]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: redesign scaling rotation math
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Fri, 19 Oct 2018 20:17:29 +0000 (16:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Nov 2018 20:27:39 +0000 (15:27 -0500)
commit15dc01b88095d287d10aa44986880f4a52872d31
treedf5a3ebcee982c11acfd3a6c45ce4a9ac8d511a5
parent22d12b9f4cf341181109d72e10ffd4c49a7c0a91
drm/amd/display: redesign scaling rotation math

Change the math to work in viewport rotation when calculating
viewport and viewport adjustment. This simplifies the math
for viewport calculation and makes viewport adjustment easier to
understand.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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_resource.c