summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/gart.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-06-10 00:10:48 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-12 14:11:25 +0200
commit6703f6d10dcd3316e03641a5ecaa6c8a04374d98 (patch)
treef8c1d9bbc5695979d2ad822a7bccb42f375dc904 /include/asm-x86/gart.h
parentMerge branch 'linus' into x86/gart (diff)
downloadlinux-6703f6d10dcd3316e03641a5ecaa6c8a04374d98.tar.xz
linux-6703f6d10dcd3316e03641a5ecaa6c8a04374d98.zip
x86, gart: add resume handling
If GART IOMMU is used on an AMD64 system, the northbridge registers related to it should be restored during resume so that memory is not corrupted. Make gart_resume() handle that as appropriate. Ref. http://lkml.org/lkml/2008/5/25/96 and the following thread. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/gart.h')
-rw-r--r--include/asm-x86/gart.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/gart.h b/include/asm-x86/gart.h
index c818b96f936b..eeca2f51fd8f 100644
--- a/include/asm-x86/gart.h
+++ b/include/asm-x86/gart.h
@@ -14,6 +14,7 @@ extern void gart_iommu_shutdown(void);
extern void __init gart_parse_options(char *);
extern void early_gart_iommu_check(void);
extern void gart_iommu_hole_init(void);
+extern void set_up_gart_resume(u32, u32);
extern int fallback_aper_order;
extern int fallback_aper_force;
extern int gart_iommu_aperture;