diff options
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | 2018-10-19 16:17:29 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-11-19 15:27:39 -0500 |
commit | 9b6067c08de84215d4c66a74150e9ac3e9f0ef72 (patch) | |
tree | df5a3ebcee982c11acfd3a6c45ce4a9ac8d511a5 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 3ce224421b66c740bb2902e69f0dd1163373842a (diff) | |
download | linux-9b6067c08de84215d4c66a74150e9ac3e9f0ef72.tar.gz linux-9b6067c08de84215d4c66a74150e9ac3e9f0ef72.tar.bz2 linux-9b6067c08de84215d4c66a74150e9ac3e9f0ef72.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions