Skip to content
  • Sunny's avatar
    fix several issues: · 91da34e6
    Sunny authored
    1. fix performance issue with latest XServer
       The recent DRI2 has removed the serial number detection for re-creating
       DRI2 buffer, so if a window changes from unflippable to flippable or vice
       versa, the DRI2 will not call CreateBuffer to re-create the back buffer
       if we just increase the serial number, then the fb id is not created
       and swap buffers will always go copy path.
       if re-create fails, the next swap buffers will generate an error
    
    2. fix an EDID issue if the length is greater than 128
    
    3. fix restor the last good mode issue if a problem occurs
    
    Change-Id: I917c3857a88d45cae8357d1b1bcda34dd93597ab
    91da34e6