diff options
| author | Ben Widawsky <benjamin.widawsky@intel.com> | 2013-11-03 19:53:55 -0500 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-08 12:09:39 -0500 |
| commit | 9459d252378aea80d28dc12bfec9a0d31b2a61bf (patch) | |
| tree | af6ebccd4074194aa16d836bd2508591dac57851 /include | |
| parent | 4e0bbc316ef2a7d804cef3e0247fd782382f5bd4 (diff) | |
drm/i915/bdw: support GMS and GGMS changes
All the BARs have the ability to grow.
v2: Pulled out the simulator workaround to a separate patch.
Rebased.
v3: Rebase onto latest vlv patches from Jesse.
v4: Rebased on top of the early stolen quirk patch from Jesse.
v5: Use the new macro names.
s/INTEL_BDW_PCI_IDS_D/INTEL_BDW_D_IDS
s/INTEL_BDW_PCI_IDS_M/INTEL_BDW_M_IDS
It's Jesse's fault for not following the convention I originally set.
Cc: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/i915_drm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 3abfa6ea226e..97d5497debc1 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h | |||
| @@ -49,6 +49,10 @@ extern bool i915_gpu_turbo_disable(void); | |||
| 49 | #define SNB_GMCH_GGMS_MASK 0x3 | 49 | #define SNB_GMCH_GGMS_MASK 0x3 |
| 50 | #define SNB_GMCH_GMS_SHIFT 3 /* Graphics Mode Select */ | 50 | #define SNB_GMCH_GMS_SHIFT 3 /* Graphics Mode Select */ |
| 51 | #define SNB_GMCH_GMS_MASK 0x1f | 51 | #define SNB_GMCH_GMS_MASK 0x1f |
| 52 | #define BDW_GMCH_GGMS_SHIFT 6 | ||
| 53 | #define BDW_GMCH_GGMS_MASK 0x3 | ||
| 54 | #define BDW_GMCH_GMS_SHIFT 8 | ||
| 55 | #define BDW_GMCH_GMS_MASK 0xff | ||
| 52 | 56 | ||
| 53 | #define I830_GMCH_CTRL 0x52 | 57 | #define I830_GMCH_CTRL 0x52 |
| 54 | 58 | ||
