diff options
| author | Samson Tam <[email protected]> | 2019-12-04 18:35:15 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-12-18 16:09:10 -0500 |
| commit | 64267454273ac8203aa3f4c0a9ca71193884e862 (patch) | |
| tree | 775a717320c10ba7e30adb6b776061127bcfb087 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 760ef473f2fccdf8ca9bc0773960e16d4ce6f3d2 (diff) | |
drm/amd/display: fix missing cursor on some rotated SLS displays
[Why]
Cursor disappears for some SLS displays that are rotated 180
and 270 degrees. This occurs when there is no pipe split being
done ( ex. 3 or more displays ). The cursor calculations assume
pipe splitting is done so when it calculates the new cursor
position in hwss.set_cursor_position(), it is out-of-bounds so
it disables the cursor in hubp.set_cursor_position().
[How]
In non pipe split cases, calculate cursor using viewport size
( width or height ) instead of viewport size * 2 ( the two
because pipe splitting divides the rectangle into two ).
Signed-off-by: Samson Tam <[email protected]>
Reviewed-by: Jun Lei <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions