summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-06-10 11:31:22 -0700
committerEric Anholt <eric@anholt.net>2008-06-10 11:32:07 -0700
commit79f94ee3c4652019395b9c329d94f7779c558571 (patch)
tree1e6c671b7b83b1b8e1ec1a8e877c89fd7df7fdde /src/i830.h
parent231a302013981cc597ba09ee89b367c8ab56e8ba (diff)
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.
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h1
1 files changed, 1 insertions, 0 deletions
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;