drm/i915: Disable WC PTE updates to w/a buggy IOMMU on ILK
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Feb 2013 09:31:53 +0000 (09:31 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Feb 2013 23:21:49 +0000 (00:21 +0100)
commitda88a5f7f7d434e2cde1b3e19d952e6d84533662
tree60ae0e971de884cd10e07fbd3452f563cad48924
parent86d3efce2c37d3fb98f75f56f21e6ab75c745bb6
drm/i915: Disable WC PTE updates to w/a buggy IOMMU on ILK

Whilst IOMMU is enabled for the Intel GPU on Ironlake, it appears that
using WC writes to update the PTE on the GPU fails miserably. The
result looks like the majority of the writes do not land leading to
lots of screen corruption and a hard system hang.

v2: s/</<=/ to preserve the current exclusion of Sandybridge

Reported-by: Nathan Myers <ncm@cantrip.org>
Bugzilla: https://bugzilla.freedesktop.org/show_bug.cgi?id=60391
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Nathan Myers <ncm@cantrip.org>
[danvet: Remove cc: stable and add tested-by.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/char/agp/intel-gtt.c