diff options
| author | Krunoslav Kovac <Krunoslav.Kovac@amd.com> | 2021-07-09 17:25:44 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-23 17:07:58 +0300 |
| commit | 5bb0d5cf9fc7f595a1d5348b3e2f35530cfde3a0 (patch) | |
| tree | 45075e7aa42e8ce8169b87c908930fc597ea7cec /tools/perf/scripts/python/syscall-counts.py | |
| parent | ff7903551c9626be8de481a46796c067a57c958d (diff) | |
| download | linux-5bb0d5cf9fc7f595a1d5348b3e2f35530cfde3a0.tar.xz | |
drm/amd/display: Refine condition for cursor visibility
[why]
There's a special case where upper plane is not the main plane. If it owns
the cursor, it will be invisible in the majority of the screen.
[How]
The condition for disabling cursor is changed:
- check if upper viewport completely covers current. This was the
previous change that doesn't handle all scenarios with pipe splitting.
- if not, show the cursor only if it's not scaled or no upper pipe.
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
