• Siarhei Siamashka's avatar
    Initial mali r3p2 blob support · c1b75cdc
    Siarhei Siamashka authored
    The mali r3p2 blob does not seem to be affected by the window
    resize bug anymore, so there is no need to apply the r3p0
    workaround (and it does not even work correctly).
    
    When using the hardware overlay, now we need to allocate secure id 1
    and 2 for back/front ump buffers. Otherwise the blob is trying to
    request a new dri2 buffer for each frame, and this kills performance
    (thanks to redundant ump buffers mapping/unmapping). This is now
    fixed.
    
    But when not using the hardware overlay, the r3p2 blob is still
    requesting dri2 buffer per each frame, and this needs an additional
    tweak.
    c1b75cdc
sunxi_mali_ump_dri2.h 6.25 KB