commit | 819e0064634f580ab618189e657ea58341d214b7 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Sun Jul 26 00:50:38 2009 +0200 |
committer | Eric Anholt <eric@anholt.net> | Wed Aug 05 11:21:29 2009 -0700 |
tree | 4b3bc501613ef3dbbaed592f0e6935fe035399f4 | |
parent | 9c9fe1f841745184bbc5460c6f3909fded3b929b [diff] |
drm/i915: Fix read outside array bounds in restoring the SWF10 range. dev_priv->saveSWF1 is a 16 element array, but this reads up to index 22, and restored values from the wrong registers. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net>