From e840ccf831632b94887de16126843b3e24014ff5 Mon Sep 17 00:00:00 2001 From: Peter Clifton Date: Fri, 2 Nov 2007 00:13:14 +0000 Subject: [PATCH] Emit invarient 3D state when entering VT, fixes fd.o bug #13055 A similar line was present in the old i810 driver. Emitting the invarient state appears to help by resetting the 3D unit / forcing DRI clients to re-emit their state. On 855GM chips, the lack of this invarient state emission causes corruption to all textured surfaces after resume from S3 sleep. --- src/i830_driver.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/i830_driver.c b/src/i830_driver.c index bbf4909..ac6124b 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -3135,6 +3135,7 @@ I830EnterVT(int scrnIndex, int flags) /* Mark 3D state as being clobbered */ *pI830->last_3d = LAST_3D_OTHER; + IntelEmitInvarientState(pScrn); return TRUE; } -- 1.5.2.5