aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/i915_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/i915_drm.h')
-rw-r--r--include/drm/i915_drm.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index 97d5497debc1..595f85c392ac 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -56,6 +56,12 @@ extern bool i915_gpu_turbo_disable(void);
56 56
57#define I830_GMCH_CTRL 0x52 57#define I830_GMCH_CTRL 0x52
58 58
59#define I830_GMCH_GMS_MASK 0x70
60#define I830_GMCH_GMS_LOCAL 0x10
61#define I830_GMCH_GMS_STOLEN_512 0x20
62#define I830_GMCH_GMS_STOLEN_1024 0x30
63#define I830_GMCH_GMS_STOLEN_8192 0x40
64
59#define I855_GMCH_GMS_MASK 0xF0 65#define I855_GMCH_GMS_MASK 0xF0
60#define I855_GMCH_GMS_STOLEN_0M 0x0 66#define I855_GMCH_GMS_STOLEN_0M 0x0
61#define I855_GMCH_GMS_STOLEN_1M (0x1 << 4) 67#define I855_GMCH_GMS_STOLEN_1M (0x1 << 4)
@@ -72,4 +78,18 @@ extern bool i915_gpu_turbo_disable(void);
72#define INTEL_GMCH_GMS_STOLEN_224M (0xc << 4) 78#define INTEL_GMCH_GMS_STOLEN_224M (0xc << 4)
73#define INTEL_GMCH_GMS_STOLEN_352M (0xd << 4) 79#define INTEL_GMCH_GMS_STOLEN_352M (0xd << 4)
74 80
81#define I830_DRB3 0x63
82#define I85X_DRB3 0x43
83#define I865_TOUD 0xc4
84
85#define I830_ESMRAMC 0x91
86#define I845_ESMRAMC 0x9e
87#define I85X_ESMRAMC 0x61
88#define TSEG_ENABLE (1 << 0)
89#define I830_TSEG_SIZE_512K (0 << 1)
90#define I830_TSEG_SIZE_1M (1 << 1)
91#define I845_TSEG_SIZE_MASK (3 << 1)
92#define I845_TSEG_SIZE_512K (2 << 1)
93#define I845_TSEG_SIZE_1M (3 << 1)
94
75#endif /* _I915_DRM_H_ */ 95#endif /* _I915_DRM_H_ */