mirror_ubuntu-kernels/drivers/gpu/drm/amd
Krunoslav Kovac 5bb0d5cf9f 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>
2021-07-23 10:07:58 -04:00
..
acp
amdgpu drm/amdgpu/ttm: optimize vram access in amdgpu_ttm_access_memory() 2021-07-16 14:03:29 -04:00
amdkfd Revert "drm/amdkfd: Add heavy-weight TLB flush after unmapping" 2021-07-13 11:41:05 -04:00
display drm/amd/display: Refine condition for cursor visibility 2021-07-23 10:07:58 -04:00
include drm/amd/pm: drop smu_v13_0_1.c|h files for yellow carp 2021-07-08 17:47:28 -04:00
pm drm/amd/pm: update DRIVER_IF_VERSION for beige_goby 2021-07-16 13:51:51 -04:00