]> git.baikalelectronics.ru Git - kernel.git/commit
intel-iommu: Export a flag indicating that the IOMMU is used for iGFX.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 14 Oct 2011 19:59:46 +0000 (20:59 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 14 Oct 2011 19:59:46 +0000 (20:59 +0100)
commitcbf4e3ff0dc7a3d6a8c231d4568c172f252eccb5
tree6130a2dfb61a3c36b2e811907e358f75eba4893e
parent73bb41f34967c9c4d5f20dfcd5b1ca610160b98a
intel-iommu: Export a flag indicating that the IOMMU is used for iGFX.

We really don't want this to work in the general case; device drivers
*shouldn't* care whether they are behind an IOMMU or not. But the
integrated graphics is a special case, because the IOMMU and the GTT are
all kind of smashed into one and generally horrifically buggy, so it's
reasonable for the graphics driver to want to know when the IOMMU is
active for the graphics hardware.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/iommu/intel-iommu.c