Skip to content
  • Faith Ekstrand's avatar
    anv/image: Separate modifiers from legacy scanout · adca1e4a
    Faith Ekstrand authored and Daniel Stone's avatar Daniel Stone committed
    For a bit there, we had a bug in i965 where it ignored the tiling of the
    modifier and used the one from the BO instead.  At one point, we though
    this was best fixed by setting a tiling from Vulkan.  However, we've
    decided that i965 was just doing the wrong thing and have fixed it as of
    50485723
    
    .
    
    The old assumptions also affected the solution we used for legacy
    scanout in Vulkan.  Instead of treating it specially, we just treated it
    like a modifier like we do in GL.  This commit goes back to making it
    it's own thing so that it's clear in the driver when we're using
    modifiers and when we're using legacy paths.
    
    v2 (Jason Ekstrand):
     - Rename legacy_scanout to needs_set_tiling
    
    Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
    adca1e4a