Skip to content
Snippets Groups Projects
Commit 47bc7fca authored by Dave Airlie's avatar Dave Airlie Committed by Adam Jackson
Browse files

present: fail flipping if we have any slave outputs


Due to the way present currently works, we don't ever check with the
secondary adapters if we can flip at all.

We shouldn't flip if the secondary adapters are attached to the pixmap
currently, however using the current check_flip callback isn't possible
as it passes the Window to the driver (something we shouldn't be doing),
so the slave driver can never get it's own screen ptr back.

For now to fix the problem just block flips if we have any slaves
configured. We can fix the ABI up later, but this fix can be backported
to stable.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
parent 31694873
No related branches found
No related tags found
No related merge requests found
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