From 79f94ee3c4652019395b9c329d94f7779c558571 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 10 Jun 2008 11:31:22 -0700 Subject: Set up/restore PWRCTXA from enter/leavevt not server start/exit. This should improve behavior in the presence of VT switching, but also avoids a crash on X exit from writing the register after unmapping mmio. --- src/i830.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/i830.h') diff --git a/src/i830.h b/src/i830.h index 62e645ab..2a804abb 100644 --- a/src/i830.h +++ b/src/i830.h @@ -653,6 +653,7 @@ typedef struct _I830Rec { uint32_t saveRENCLK_GATE_D2; uint32_t saveDSPCLK_GATE_D; uint32_t saveRAMCLK_GATE_D; + uint32_t savePWRCTXA; enum last_3d *last_3d; -- cgit v1.2.3