summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSamson Tam <Samson.Tam@amd.com>2020-10-30 12:30:09 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-11-16 12:19:01 -0500
commitaceeeea38a869845675e1a001e5915b5aaa5527a (patch)
treebd41e5df1a65aa07edee29aa096bb70d66dc9abd /tools/perf/scripts/python/stackcollapse.py
parent89c5ca3b5e50acdb0ed69d8af2cf5a9b7e253dae (diff)
downloadlinux-aceeeea38a869845675e1a001e5915b5aaa5527a.tar.gz
linux-aceeeea38a869845675e1a001e5915b5aaa5527a.zip
drm/amd/display: fix cursor calculation for 1xnY rotated display groups
[Why] Cursor is missing on displays 2 and up when doing rotated display groups in 1xnY setup. Calculation puts cursor out of bounds so it is not enabled. [How] In dcn10_set_cursor_position(), add in viewport.y into cursor calculations for 1xnY rotated display groups. For pipe split, check viewport.y for both pipes and use lower one to normalize cursor position before calculations. Add odm 2:1 support ( using same calculations as pipe split ). Signed-off-by: Samson Tam <Samson.Tam@amd.com> Acked-by: Bindu Ramamurthy <bindu.r@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