drm/i915: Fix read outside array bounds in restoring the SWF10 range.
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 25 Jul 2009 22:50:38 +0000 (00:50 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 5 Aug 2009 18:21:29 +0000 (11:21 -0700)
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>

No differences found