diff options
| author | Dave Airlie <airlied@redhat.com> | 2010-03-01 00:41:26 -0500 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2010-03-01 00:41:26 -0500 |
| commit | cf7934a2a0ec55759fcf6861a868baadfd522300 (patch) | |
| tree | 97fb4aac01d1b4e112126b2bd3852e3646d4b408 | |
| parent | aa71fa3cd5b7b4f669cd74c5a16de57d2938cd85 (diff) | |
| parent | 6070a4a928f8c92b9fae7d6717ebbb05f425d6b2 (diff) | |
Merge remote branch 'anholt/drm-intel-next' into drm-next-stage
* anholt/drm-intel-next: (103 commits)
drm/i915: Use a dmi quirk to skip a broken SDVO TV output.
drm/i915: enable/disable LVDS port at DPMS time
drm/i915: check for multiple write domains in pin_and_relocate
drm/i915: clean-up i915_gem_flush_gpu_write_domain
drm/i915: reuse i915_gpu_idle helper
drm/i915: ensure lru ordering of fence_list
drm/i915: extract fence stealing code
drm/i915: fixup active list locking in object_unbind
drm/i915: reuse i915_gem_object_put_fence_reg for fence stealing code
drm/i915: Add dependency on the intel agp module
drm/i915: More s/IS_IRONLAKE/HAS_PCH_SPLIT for Sandybridge.
drm/i915: Correct the Sandybridge chipset info structs.
drm/i915: Disable the hangcheck reset on Sandybridge until we add support.
drm/i915: Add a new mobile Sandybridge PCI ID.
agp/intel: Add a new Sandybridge HB/IG PCI ID combo.
drm/i915, agp/intel: Fix stolen memory size on Sandybridge
drm/i915: Correct locking in the modesetting failure path, fixing a BUG_ON.
drm/i915: Disable the surface tile swizzling on Sandybridge.
agp/intel: Use a non-reserved value for the cache field of the PTEs.
drm/i915: Fix sandybridge status page setup.
...
86 files changed, 13649 insertions, 5279 deletions
diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index 3999a5f25f38..c1c07a2ccb11 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | #include <linux/agp_backend.h> | 10 | #include <linux/agp_backend.h> |
| 11 | #include "agp.h" | 11 | #include "agp.h" |
| 12 | 12 | ||
| 13 | int intel_agp_enabled; | ||
| 14 | EXPORT_SYMBOL(intel_agp_enabled); | ||
| 15 | |||
| 13 | /* | 16 | /* |
| 14 | * If we have Intel graphics, we're not going to have anything other than | 17 | * If we have Intel graphics, we're not going to have anything other than |
| 15 | * an Intel IOMMU. So make the correct use of the PCI DMA API contingent | 18 | * an Intel IOMMU. So make the correct use of the PCI DMA API contingent |
| @@ -64,6 +67,10 @@ | |||
| 64 | #define PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB 0x0062 | 67 | #define PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB 0x0062 |
| 65 | #define PCI_DEVICE_ID_INTEL_IRONLAKE_MC2_HB 0x006a | 68 | #define PCI_DEVICE_ID_INTEL_IRONLAKE_MC2_HB 0x006a |
| 66 | #define PCI_DEVICE_ID_INTEL_IRONLAKE_M_IG 0x0046 | 69 | #define PCI_DEVICE_ID_INTEL_IRONLAKE_M_IG 0x0046 |
| 70 | #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_HB 0x0100 | ||
| 71 | #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_IG 0x0102 | ||
| 72 | #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_HB 0x0104 | ||
| 73 | #define PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_IG 0x0106 | ||
| 67 | 74 | ||
| 68 | /* cover 915 and 945 variants */ | 75 | /* cover 915 and 945 variants */ |
| 69 | #define IS_I915 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_E7221_HB || \ | 76 | #define IS_I915 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_E7221_HB || \ |
| @@ -98,7 +105,9 @@ | |||
| 98 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_D_HB || \ | 105 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_D_HB || \ |
| 99 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB || \ | 106 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_M_HB || \ |
| 100 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB || \ | 107 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_MA_HB || \ |
| 101 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_MC2_HB) | 108 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IRONLAKE_MC2_HB || \ |
| 109 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_SANDYBRIDGE_HB || \ | ||
| 110 | agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_SANDYBRIDGE_M_HB) | ||
| 102 | 111 | ||
| 103 | extern int agp_memory_reserved; | 112 | extern int agp_memory_reserved; |
| 104 | 113 | ||
| @@ -147,6 +156,25 @@ extern int agp_memory_reserved; | |||
| 147 | #define INTEL_I7505_AGPCTRL 0x70 | 156 | #define INTEL_I7505_AGPCTRL 0x70 |
| 148 | #define INTEL_I7505_MCHCFG 0x50 | 157 | #define INTEL_I7505_MCHCFG 0x50 |
| 149 | 158 | ||
| 159 | #define SNB_GMCH_CTRL 0x50 | ||
| 160 | #define SNB_GMCH_GMS_STOLEN_MASK 0xF8 | ||
