]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/char/agp/intel-gtt.c
drm/radeon/kms: attempt to avoid copying data twice on coherent cards. (v3)
[karo-tx-linux.git] / drivers / char / agp / intel-gtt.c
index 5cf47ac2d401d2551661355d2d5fbaccfccdb72e..7f025fb620dee36135bcb9235d86164e48b62b10 100644 (file)
@@ -1190,7 +1190,6 @@ static inline int needs_idle_maps(void)
 {
 #ifdef CONFIG_INTEL_IOMMU
        const unsigned short gpu_devid = intel_private.pcidev->device;
-       extern int intel_iommu_gfx_mapped;
 
        /* Query intel_iommu to see if we need the workaround. Presumably that
         * was loaded first.
@@ -1459,6 +1458,8 @@ static const struct intel_gtt_driver_description {
            "Ivybridge", &sandybridge_gtt_driver },
        { PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT1_IG,
            "Ivybridge", &sandybridge_gtt_driver },
+       { PCI_DEVICE_ID_INTEL_IVYBRIDGE_S_GT2_IG,
+           "Ivybridge", &sandybridge_gtt_driver },
        { 0, NULL, NULL }
 };