Skip to content
Snippets Groups Projects
Commit 819e0064 authored by Roel Kluin's avatar Roel Kluin Committed by Eric Anholt
Browse files

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: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 9c9fe1f8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment