• Siarhei Siamashka's avatar
    Ensure that r3p2 blob does not request dri2 buffers for each frame · 6ec85e99
    Siarhei Siamashka authored
    Now even without using the hardware overlay, ordinary ump buffers
    allocated in normal memory don't trigger excessive dri2 buffer
    requests from the mali blob.
    
    TODO:
    * check for any possible memory leaks, ensure correct refcounting
    * test windows resize behavior for both r3p0 and r3p2 blobs
    * check if the EVEN/ODD frame order enforcing is still necessary for
      r3p2 (it could be just one more r3p0 quirk that is already gone)
    6ec85e99
sunxi_mali_ump_dri2.c 41.4 KB