diff options
author | Alex Deucher <agd5f@yahoo.com> | 2005-05-19 05:32:16 +0000 |
---|---|---|
committer | Alex Deucher <agd5f@yahoo.com> | 2005-05-19 05:32:16 +0000 |
commit | eb107dead1844bfe1b2ca5510c50efd13fe883ef (patch) | |
tree | ec8b8559e9f609b7c87d92e2ad9130c1ff1c60ac /src | |
parent | 3d8be0cf1ccbbe4e68c5fae92203a152901b2436 (diff) |
Disable ScreenToScreenCopy on crtc2 at depth 24. Fixes screen corruption.XORG-6_8_99_9XORG-6_8_99_8XORG-6_8_99_12XORG-6_8_99_11XORG-6_8_99_10
Diffstat (limited to 'src')
-rw-r--r-- | src/savage_accel.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/savage_accel.c b/src/savage_accel.c index 2bd8765..5593f49 100644 --- a/src/savage_accel.c +++ b/src/savage_accel.c @@ -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 |