]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a052730c9aa65931fe9917475c9d9f23d9a2821
tree4b3bc501613ef3dbbaed592f0e6935fe035399f4
parent63a35eaf834f328af90fc208b09062af2f60ba35
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>
drivers/gpu/drm/i915/i915_suspend.c