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)
committerKeith Packard <keithp@keithp.com>
Fri, 28 Oct 2011 20:06:44 +0000 (13:06 -0700)
commitc5e62bdd73da80e1017058c923336a5a150af9f2
treed10c4c00a011790c2974af4decc0dc6a50c4db1f
parent3fca806cf343155d0bb0dfbdbc2e51ef47b65750
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