summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-10-06 14:06:05 +0000
committerAlex Deucher <alexander.deucher@amd.com>2021-10-13 14:14:34 -0400
commitd1bfbe8a3202640c28a5769faff49b732af2438b (patch)
tree87ef2019c497c1cd13b544ac00a4b7bf28883a63 /drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c
parent7e3fb209d518112628f3f5abd6e66053ac4b0767 (diff)
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 <contact@emersion.fr> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Harry Wentland <hwentlan@amd.com> Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Cc: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Cc: Sean Paul <seanpaul@chromium.org> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c')
0 files changed, 0 insertions, 0 deletions