]> git.baikalelectronics.ru Git - kernel.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)
commit61d51301c19864d92dd00b845edb9286eb832b7f
tree87400cdc5f74d1258b6456b88beaf6fc3dc5f97a
parente294b52117a4ecb3917dc66ca7a7182d3ca71ac5
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