intel-iommu: Workaround IOTLB hang on Ironlake GPU
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 17 Oct 2011 22:51:52 +0000 (15:51 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 20 Oct 2011 22:26:38 +0000 (15:26 -0700)
commitd15bf23bc025ded52054ac3a05d6433a54e43fd2
treea355f9cbfe70c1999c9b69f4684b46f96b65bb84
parent130c2561dea1c7418e53c1db2282b91a38641abe
intel-iommu: Workaround IOTLB hang on Ironlake GPU

To work around a hardware issue, we have to submit IOTLB flushes while
the graphics engine is idle. The graphics driver will (we hope) go to
great lengths to ensure that it gets that right on the affected
chipset(s)... so let's not screw it over by deferring the unmap and
doing it later. That wouldn't be very helpful.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/iommu/intel-iommu.c