i915/gtt: fix ordering issues with status setup and DMAR
authorDave Airlie <airlied@gmail.com>
Wed, 12 Jan 2011 01:38:37 +0000 (11:38 +1000)
committerDave Airlie <airlied@gmail.com>
Wed, 12 Jan 2011 01:38:37 +0000 (11:38 +1000)
commita46f3108b1cd8bf11d46ac8a5f30df6f6dbdf738
tree49d7731e7c1250f28a44aa8d3e62c43292e4bef3
parent784fe39fa80d557847baeca2695915d17b09827f
i915/gtt: fix ordering issues with status setup and DMAR

This code was setting up the status page before setting the DMAR-is-on-bit,
so we were getting DMAR errors on the status page. Reverse the two bits
of init code to the correct result.

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