agp: iommu_gfx_mapped only available if CONFIG_INTEL_IOMMU is set
authorKeith Packard <keithp@keithp.com>
Fri, 28 Oct 2011 17:28:00 +0000 (10:28 -0700)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Nov 2011 10:50:27 +0000 (10:50 +0000)
commita08185a3eb658854b29c05bcbfac0f85038ffe9f
tree9411bc4cd2dc3dd5e4f29654b7b32669fe1434bb
parent35b09c9bf619c4fc6040c52dcea6bd5bd6af7679
agp: iommu_gfx_mapped only available if CONFIG_INTEL_IOMMU is set

Kernels with no iommu support cannot ever need the Ironlake
work-around, so never enable it in that case.

Might be better to completely remove the work-around from the kernel
in this case?

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
drivers/char/agp/intel-gtt.c