commit | 9b6067c08de84215d4c66a74150e9ac3e9f0ef72 | [log] [tgz] |
---|---|---|
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | Fri Oct 19 16:17:29 2018 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Nov 19 15:27:39 2018 -0500 |
tree | df5a3ebcee982c11acfd3a6c45ce4a9ac8d511a5 | |
parent | 3ce224421b66c740bb2902e69f0dd1163373842a [diff] |
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>