aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/agp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/agp')
-rw-r--r--drivers/char/agp/intel-agp.h1
-rw-r--r--drivers/char/agp/intel-gtt.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/char/agp/intel-agp.h b/drivers/char/agp/intel-agp.h
index 0b0710143699..c0091753a0d1 100644
--- a/drivers/char/agp/intel-agp.h
+++ b/drivers/char/agp/intel-agp.h
@@ -235,6 +235,7 @@
235#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT2_IG 0x0166 235#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_M_GT2_IG 0x0166
236#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB 0x0158 /* Server */ 236#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_HB 0x0158 /* Server */
237#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG 0x015A 237#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG 0x015A
238#define PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT2_IG 0x016A
238#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_HB 0x0F00 /* VLV1 */ 239#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_HB 0x0F00 /* VLV1 */
239#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_IG 0x0F30 240#define PCI_DEVICE_ID_INTEL_VALLEYVIEW_IG 0x0F30
240#define PCI_DEVICE_ID_INTEL_HASWELL_HB 0x0400 /* Desktop */ 241#define PCI_DEVICE_ID_INTEL_HASWELL_HB 0x0400 /* Desktop */
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index 7e223a27e112..1237e7575c3f 100644
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -1204,7 +1204,6 @@ static inline int needs_idle_maps(void)
1204{ 1204{
1205#ifdef CONFIG_INTEL_IOMMU 1205#ifdef CONFIG_INTEL_IOMMU
1206 const unsigned short gpu_devid = intel_private.pcidev->device; 1206 const unsigned short gpu_devid = intel_private.pcidev->device;
1207 extern int intel_iommu_gfx_mapped;
1208 1207
1209 /* Query intel_iommu to see if we need the workaround. Presumably that 1208 /* Query intel_iommu to see if we need the workaround. Presumably that
1210 * was loaded first. 1209 * was loaded first.
@@ -1486,6 +1485,8 @@ static const struct intel_gtt_driver_description {
1486 "Ivybridge", &sandybridge_gtt_driver }, 1485 "Ivybridge", &sandybridge_gtt_driver },
1487 { PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG, 1486 { PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG,
1488 "Ivybridge", &sandybridge_gtt_driver }, 1487 "Ivybridge", &sandybridge_gtt_driver },
1488 { PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT2_IG,
1489 "Ivybridge", &sandybridge_gtt_driver },
1489 { PCI_DEVICE_ID_INTEL_VALLEYVIEW_IG, 1490 { PCI_DEVICE_ID_INTEL_VALLEYVIEW_IG,
1490 "ValleyView", &valleyview_gtt_driver }, 1491 "ValleyView", &valleyview_gtt_driver },
1491 { PCI_DEVICE_ID_INTEL_HASWELL_D_GT1_IG, 1492 { PCI_DEVICE_ID_INTEL_HASWELL_D_GT1_IG,