aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-07-04 05:59:46 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-07-04 05:59:46 -0400
commit62edf5dc4a524e4cb525e6020b955a1ad593d9ba (patch)
treee811a942b7661fc9e97f1611ee75e7f125d51365 /arch/x86/Kconfig
parent40e4aa34324bff3938a900014254f88943d05e15 (diff)
intel-iommu: Restore DMAR_BROKEN_GFX_WA option for broken graphics drivers
We need to give people a little more time to fix the broken drivers. Re-introduce this, but tied in properly with the 'iommu=pt' support this time. Change the config option name and make it default to 'no' too. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c07f72205909..738bdc6b0f8b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1913,6 +1913,18 @@ config DMAR_DEFAULT_ON
1913 recommended you say N here while the DMAR code remains 1913 recommended you say N here while the DMAR code remains
1914 experimental. 1914 experimental.
1915 1915
1916config DMAR_BROKEN_GFX_WA
1917 def_bool n
1918 prompt "Workaround broken graphics drivers (going away soon)"
1919 depends on DMAR
1920 ---help---
1921 Current Graphics drivers tend to use physical address
1922 for DMA and avoid using DMA APIs. Setting this config
1923 option permits the IOMMU driver to set a unity map for
1924 all the OS-visible memory. Hence the driver can continue
1925 to use physical addresses for DMA, at least until this
1926 option is removed in the 2.6.32 kernel.
1927
1916config DMAR_FLOPPY_WA 1928config DMAR_FLOPPY_WA
1917 def_bool y 1929 def_bool y
1918 depends on DMAR 1930 depends on DMAR