Skip to content
  • Marius Vlad's avatar
    backend-drm: Further checks to skip plane assignment to HW planes · 18462e89
    Marius Vlad authored
    
    
    Mode change from mixed-mode to renderer-only means we should no longer
    try to place views in HW planes (as we composite everything into the
    primary plane) thus we should avoid that whenever that happens.
    
    In the same time we need to be able to place in mixed-mode/renderer-only
    mode the cursor view into the cursor plane (if one is available).
    
    This patch adds a further check to skip plane assignment when disabling
    overlay support (when we switch to renderer-only mode), when drivers do
    not have atomic-modeset or it has been disabled intentionally.
    
    Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
    18462e89