summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-02-07 11:21:09 -0800
committerJesse Barnes <jbarnes@nietzche.virtuousgeek.org>2008-02-07 11:21:09 -0800
commit6f19473191ae543fcc199d252c5865c0734d38ad (patch)
tree3fe46330d1e6e65b0a0d797ce275ed98695b4b7c
parent8b6c96dedd4ba5dfbfec6a7c831d566e31d28781 (diff)
Fix saveGR array size
Make sure we have enough room for all the GR registers or we'll end up clobbering the AR index register (which should actually be harmless unless the BIOS is making an assumption about it).
-rw-r--r--shared-core/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index d2faee29..d08fdf40 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -224,7 +224,7 @@ typedef struct drm_i915_private {
u32 saveSWF2[3];
u8 saveMSR;
u8 saveSR[8];
- u8 saveGR[24];
+ u8 saveGR[25];
u8 saveAR_INDEX;
u8 saveAR[20];
u8 saveDACMASK;