Skip to content
  • Daniel Stone's avatar
    backend-drm: Cache fb<->plane format compatibility list · 57d609a4
    Daniel Stone authored
    
    
    Walking the format/modifier list to try to find out if our FB is
    compatible with the plane is surprisingly expensive. Since the plane's
    capabilities are static over the lifetime of the KMS device, cache the
    set of planes for which the FB is theoretically
    format/modifier-compatible when it's created, and use that to do an
    early cull of the set of acceptable planes.
    
    Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
    57d609a4
Loading