Skip to content
  • Emma Anholt's avatar
    broadcom: Add V3D 3.3 gallium driver called "vc5", for BCM7268. · 45bb8f29
    Emma Anholt authored
    V3D 3.3 is a continuation of the 3D implementation in VC4 (v2.1 and v2.6).
    V3D 3.3 introduces an MMU (no more CMA allocations) and support for
    GLES3.1.  This driver is not currently conformant, though that will be a
    target as soon as possible.
    
    V3D 3.x parts use a new texture tiling layout common across many Broadcom
    graphics parts including and the HVS scanout engine.  It also massively
    changes the QPU instructions, introducing a common physical register file
    (no more A/B split) and half-float instructions, while removing the 4x8
    unorm instructions in favor of half-float for talking to fixed function
    interfaces.  Because so much has changed, vc5 is implemented in a separate
    gallium driver, using only the XML code-generation support from vc4.
    
    v2: Fix tile layout for 64bpp textures.  Fix texture swizzling for 32-bit
        returns.  Fix up a bit of MRT setup.  Sync the simulator to kernel
        behavior a bit more.  Improve uniform debugging code.  Rebase on
        QIR->VIR rename.  Move texture state mostly to the CSOs.  Improve
        cache flushing on the simulator.  Fix program deletion
        use-after-frees.
    
    Acked-by: Dave Airlie <airlied@gmail.com> (uabi plan)
    Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> (uabi plan)
    45bb8f29