drm/i915: don't save/restore CACHE_MODE_0 on gen7+
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 11 Oct 2013 19:09:29 +0000 (12:09 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 11 Oct 2013 21:32:32 +0000 (23:32 +0200)
commite8cde23b4607e19bd079a8173393a0d16aadfe31
tree9662095e3f5b0f6854efd3d94851ca0e652d9c79
parentfbf49ea21bd4f2ed88d678f7fc8b34a7dd0a7460
drm/i915: don't save/restore CACHE_MODE_0 on gen7+

On gen7+, CACHE_MODE_0 moved, so we're clobbering some other reg rather
than restoring CACHE_MODE_0.  Don't do that.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_suspend.c