aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/i915_drv.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-05-06 22:25:46 -0400
committerDave Airlie <airlied@linux.ie>2008-05-06 22:25:46 -0400
commita59e122a67b88925944d3bbf33d15229cf0fc3de (patch)
tree13912f25393c1a3325946b53bca232ff938c7e3c /drivers/char/drm/i915_drv.h
parentf116cc561eae0a426b8fa6b3e22e80ba0bcf7aee (diff)
drm/i915: fix off by one in VGA save/restore of AR & CR regs.
turns out it's important to save/restore AR14 in particular. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/drm/i915_drv.h')
-rw-r--r--drivers/char/drm/i915_drv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/drm/i915_drv.h b/drivers/char/drm/i915_drv.h
index 2be7e1d7283..7619c49e588 100644
--- a/drivers/char/drm/i915_drv.h
+++ b/drivers/char/drm/i915_drv.h
@@ -197,10 +197,10 @@ typedef struct drm_i915_private {
197 u8 saveSR[8]; 197 u8 saveSR[8];
198 u8 saveGR[25]; 198 u8 saveGR[25];
199 u8 saveAR_INDEX; 199 u8 saveAR_INDEX;
200 u8 saveAR[20]; 200 u8 saveAR[21];
201 u8 saveDACMASK; 201 u8 saveDACMASK;
202 u8 saveDACDATA[256*3]; /* 256 3-byte colors */ 202 u8 saveDACDATA[256*3]; /* 256 3-byte colors */
203 u8 saveCR[36]; 203 u8 saveCR[37];
204} drm_i915_private_t; 204} drm_i915_private_t;
205 205
206extern struct drm_ioctl_desc i915_ioctls[]; 206extern struct drm_ioctl_desc i915_ioctls[];