Commit eb107dea authored by Alex Deucher's avatar Alex Deucher

Disable ScreenToScreenCopy on crtc2 at depth 24. Fixes screen corruption.

parent 3d8be0cf
......@@ -1541,12 +1541,19 @@ SavageInitAccel(ScreenPtr pScreen)
/* ScreenToScreen copies */
#if 1
/* screen to screen copies cause corruption when used on crtc2 @32 bpp
not sure why -- AGD */
if ((pScrn->bitsPerPixel == 32) && (psav->IsSecondary)) {
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"XAAScreenToScreenCopy disabled on crtc2 at depth 24\n");
} else {
xaaptr->SetupForScreenToScreenCopy = SavageSetupForScreenToScreenCopy;
xaaptr->SubsequentScreenToScreenCopy = SavageSubsequentScreenToScreenCopy;
xaaptr->ScreenToScreenCopyFlags = 0
| NO_TRANSPARENCY
| NO_PLANEMASK
| ROP_NEEDS_SOURCE;
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment