Skip to content
  • Eric Anholt's avatar
    vc4: Make sure we make ro scanout resources for create_with_modifiers. · cc0bc76a
    Eric Anholt authored
    The DRI3 create_with_modifiers paths don't set tmpl.bind to SCANOUT or
    SHARED, with the theory that given that you've got modifiers, that's all
    you need.  However, we were looking at the tmpl.bind for setting up the
    KMS handle in the renderonly case, so we'd end up trying to use vc4's
    handle on the hx8357d fd.
    
    Fixes: 84ed8b67 ("vc4: Set shareable BOs as T tiled if possible")
    cc0bc76a