]> git.karo-electronics.de Git - mv-sheeva.git/commit
i915/gtt: fix ordering causing DMAR errors on object teardown.
authorDave Airlie <airlied@gmail.com>
Wed, 12 Jan 2011 01:39:48 +0000 (11:39 +1000)
committerDave Airlie <airlied@gmail.com>
Wed, 12 Jan 2011 01:39:48 +0000 (11:39 +1000)
commitd15eda5c6edff4987af6f4423af0bab0c3251e74
tree87400cdc5f74d1258b6456b88beaf6fc3dc5f97a
parenta46f3108b1cd8bf11d46ac8a5f30df6f6dbdf738
i915/gtt: fix ordering causing DMAR errors on object teardown.

Previous to the last GTT rework we always rewrote the GTT then unmapped the
object, somehow this got reversed in the rework in 2.6.37-rc5 timeframe.

This fix needs to go to stable in an alternate form since the code changed.

This fixes DMAR reports on my Ironlake HP2540p.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/intel-gtt.c