Skip to content
Commit 78657c5f authored by Derek Foreman's avatar Derek Foreman
Browse files

drm-backend: Fix cursor updates with overlapping heads



We can't use the surface damage to determine when to upload new cursor
images because when heads overlap the first repainted head will accumulate
that damage as plane damage.

We can't easily use plane damage either because the plane isn't really
assigned until after an atomic test, which requires the cursor fb to be
current.

Untangle this mess a little by always testing with the first cursor fb,
which is identical to the second in all ways, then replace with the correct
fb in repaint.

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent bbaba601
Loading
Loading
Loading
Pipeline #1031284 passed with stages
in 7 minutes and 12 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment