aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/gart.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-06-09 18:10:48 -0400
committerIngo Molnar <mingo@elte.hu>2008-06-12 08:11:25 -0400
commit6703f6d10dcd3316e03641a5ecaa6c8a04374d98 (patch)
treef8c1d9bbc5695979d2ad822a7bccb42f375dc904 /include/asm-x86/gart.h
parentbb6dfb32f90094fea647e1f27d994a8b6ddd2766 (diff)
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);
14extern void __init gart_parse_options(char *); 14extern void __init gart_parse_options(char *);
15extern void early_gart_iommu_check(void); 15extern void early_gart_iommu_check(void);
16extern void gart_iommu_hole_init(void); 16extern void gart_iommu_hole_init(void);
17extern void set_up_gart_resume(u32, u32);
17extern int fallback_aper_order; 18extern int fallback_aper_order;
18extern int fallback_aper_force; 19extern int fallback_aper_force;
19extern int gart_iommu_aperture; 20extern int gart_iommu_aperture;