diff options
author | Keith Packard <keithp@keithp.com> | 2009-04-30 14:43:44 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-30 16:04:40 -0700 |
commit | 79f11c19a396e8cea7dad322dcfb46c0a8517fe6 (patch) | |
tree | 7da6cf901e07655e96de7ea50a2ee597218c71d4 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 049ef7e40fc9959db480b2753a1dbe734d98e948 (diff) | |
download | lwn-79f11c19a396e8cea7dad322dcfb46c0a8517fe6.tar.gz lwn-79f11c19a396e8cea7dad322dcfb46c0a8517fe6.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index df08eb4240b6..b47af07f3918 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -283,6 +283,7 @@ typedef struct drm_i915_private { u8 saveAR[21]; u8 saveDACMASK; u8 saveCR[37]; + uint64_t saveFENCE[16]; struct { struct drm_mm gtt_space; |