diff options
| author | 2021-07-09 10:25:44 -0400 | |
|---|---|---|
| committer | 2021-07-23 10:07:58 -0400 | |
| commit | 5bb0d5cf9fc7f595a1d5348b3e2f35530cfde3a0 (patch) | |
| tree | 45075e7aa42e8ce8169b87c908930fc597ea7cec /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/display: Populate dtbclk entries for dcn3.02/3.03 (diff) | |
| download | linux-dev-5bb0d5cf9fc7f595a1d5348b3e2f35530cfde3a0.tar.xz linux-dev-5bb0d5cf9fc7f595a1d5348b3e2f35530cfde3a0.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
