summaryrefslogtreecommitdiff
path: root/src/via_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/via_accel.c')
-rw-r--r--src/via_accel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/via_accel.c b/src/via_accel.c
index 90a485d1df26..7150ab41de78 100644
--- a/src/via_accel.c
+++ b/src/via_accel.c
@@ -2196,8 +2196,8 @@ viaInitExa(ScreenPtr pScreen)
pExa->offScreenBase = pScrn->virtualY * pVia->Bpl;
pExa->pixmapOffsetAlign = 32;
pExa->pixmapPitchAlign = 16;
- /* This needs to be fixed upstream for now it just causes hangs*/
- pExa->flags = EXA_OFFSCREEN_PIXMAPS | EXA_OFFSCREEN_ALIGN_POT;
+ pExa->flags = EXA_OFFSCREEN_PIXMAPS |
+ (pVia->nPOT[1] ? 0 : EXA_OFFSCREEN_ALIGN_POT);
pExa->maxX = 2047;
pExa->maxY = 2047;
pExa->WaitMarker = viaAccelWaitMarker;