The original patch is large due to some code refactoring. Here is a more minimal patch that just shows the functional changes without the refactoring.
You can see the patch: a) Adds a routine to check the scanout size b) Adds code to cleanup the large_inactive and scanout lists in a couple places c) Loops the check for pending events ** Patch added: "sna-flush-scanout-cache-after-resizing.patch" https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1157678/+attachment/3648585/+files/sna-flush-scanout-cache-after-resizing.patch -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1157678 Title: [ffe] unplugging an external monitor from laptop results in corrupted screen. Logging out fixes it. To manage notifications about this bug go to: https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/1157678/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp