Fix saveGR array size
authorJesse Barnes <jbarnes@nietzche.virtuousgeek.org>
Thu, 7 Feb 2008 19:21:09 +0000 (11:21 -0800)
committerJesse Barnes <jbarnes@nietzche.virtuousgeek.org>
Thu, 7 Feb 2008 19:21:09 +0000 (11:21 -0800)
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).

shared-core/i915_drv.h

index d2faee2..d08fdf4 100644 (file)
@@ -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;