diff options
| author | Simon Ser <[email protected]> | 2021-10-06 14:06:05 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-10-13 18:14:34 +0000 |
| commit | d1bfbe8a3202640c28a5769faff49b732af2438b (patch) | |
| tree | 87ef2019c497c1cd13b544ac00a4b7bf28883a63 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | amd/amdkfd: remove svms declaration to avoid werror (diff) | |
| download | kernel-d1bfbe8a3202640c28a5769faff49b732af2438b.tar.gz kernel-d1bfbe8a3202640c28a5769faff49b732af2438b.zip | |
amd/display: check cursor plane matches underlying plane
The current logic checks whether the cursor plane blending
properties match the primary plane's. However that's wrong,
because the cursor is painted on all planes underneath. If
the cursor is over the primary plane and the overlay plane,
it's painted on both pipes.
Iterate over the CRTC planes and check their scaling match
the cursor's.
v4: fix typo in commit message (Harry)
Signed-off-by: Simon Ser <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Nicholas Kazlauskas <[email protected]>
Cc: Bas Nieuwenhuizen <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Sean Paul <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
