]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: save/restore fence registers across suspend/resume
authorKeith Packard <keithp@keithp.com>
Thu, 30 Apr 2009 21:43:44 +0000 (14:43 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 30 Apr 2009 23:04:40 +0000 (16:04 -0700)
commit0fdae1f5f843bd88a9430827eb9fdf285ee2ff49
tree7da6cf901e07655e96de7ea50a2ee597218c71d4
parentf5a351c1d993dcf8bc445623cca6aeb0f1e6dec4
drm/i915: save/restore fence registers across suspend/resume

This makes software fallbacks not do tiling wrong on i965 and later after
resume. It also should fix 945 performance reduction after resume which
would have disabled tiling without causing any visible effect.

Signed-off-by: Keith Packard <keithp@keithp.com>
[anholt: Fixed up the 915 case to not save/restore the new regs]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c