mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Fix what appears to be a typo, and restore the registers correctly.
Found with: Coverity Prevent(tm) CID: 2454
This commit is contained in:
parent
363fec5d16
commit
c8264c8ee2
1 changed files with 1 additions and 1 deletions
|
|
@ -515,7 +515,7 @@ int i915_restore_state(struct drm_device *dev)
|
|||
|
||||
for (i = 0; i < 16; i++) {
|
||||
I915_WRITE(SWF00 + (i << 2), dev_priv->saveSWF0[i]);
|
||||
I915_WRITE(SWF10 + (i << 2), dev_priv->saveSWF1[i+7]);
|
||||
I915_WRITE(SWF10 + (i << 2), dev_priv->saveSWF1[i]);
|
||||
}
|
||||
for (i = 0; i < 3; i++)
|
||||
I915_WRITE(SWF30 + (i << 2), dev_priv->saveSWF2[i]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue