Skip to content
  • Dave Airlie's avatar
    present: fail flipping if we have any slave outputs · 47bc7fca
    Dave Airlie authored and Adam Jackson's avatar Adam Jackson committed
    
    
    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>
    47bc7fca