]> 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)
commitfc20cc72f53f82ba63432a59ecfd80ebce450f3d
treedf5a3ebcee982c11acfd3a6c45ce4a9ac8d511a5
parent20b602f8b61ac191f78fb3474e64744fa01bf855
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