This is quite late to report, but I've just begun testing 3.12, and this patch makes my screen garbled when using the modesetting xorg driver.
Alright, after trying to notice what was different between the old and new code, I've found the culprit :
- gt->npage = pages;
There is no equivalent of this line with the new code. This must mess things up.
By writing:
gt->npage = gt->gem.size / PAGE_SIZE;
after: gt->npage = pages;
I don't experience the problem anymore. If this looks good to you, I'll create a patch for this.
Thanks,
- Guillaume