diff options
| author | Krunoslav Kovac <Krunoslav.Kovac@amd.com> | 2021-07-09 10:25:44 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-23 10:07:58 -0400 |
| commit | 5bb0d5cf9fc7f595a1d5348b3e2f35530cfde3a0 (patch) | |
| tree | 45075e7aa42e8ce8169b87c908930fc597ea7cec /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | ff7903551c9626be8de481a46796c067a57c958d (diff) | |
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_object.c')
0 files changed, 0 insertions, 0 deletions
