]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: fix mirror rotation scaling math
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 16 Oct 2018 22:00:29 +0000 (18:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:41 +0000 (14:21 -0500)
commit83d4065991f044def34607b654096fd5712f059f
treea2d4dd3d0923ccc665213dca61a5194098952dcd
parentba7b267a458e133cbd791c818fb4cb41180242c6
drm/amd/display: fix mirror rotation scaling math

Curretly dc will incorrectly calculate viewport when there is
rotation or mirror being applied

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Su Chung <Su.Chung@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c