diff options
author | Aric Cyr <aric.cyr@amd.com> | 2021-06-02 01:44:50 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-22 00:45:14 +0300 |
commit | d9b20b45ec32fff5430cc57b28aa20136ef09d76 (patch) | |
tree | 599567eab37d59793a450757295e9beae3e4a866 /tools/perf/scripts/python/stackcollapse.py | |
parent | 962f2f1ae273399e357a3192d5413ca57f9b4885 (diff) | |
download | linux-d9b20b45ec32fff5430cc57b28aa20136ef09d76.tar.xz |
drm/amd/display: Multiplane cursor position incorrect when plane rotated
[Why]
When video plane is rotate the cursor position is incorrect and not
matching the desktop location.
[How]
When a plane is rotated 90 or 270 degrees, the src_rect.width and height
should be swapped when determining the scaling factor compared to the
dst_rect.
Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions