[Intel-gfx] [PATCH] intel/gtt: unmap pages after rewriting GTT table.

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 11 14:28:52 CET 2011


On Tue, 11 Jan 2011 11:17:16 +1000, Dave Airlie <airlied at gmail.com> wrote:
> This fixes a regression caused by the GTT rework that
> 450f2b3d51025a1749b694ee13f0e4e23ed58750 is part off.
> 
> On my ILK laptop with DMAR enabled I was seeing the occasional
> DMAR warning.
> 
> The ordering in the previous code was to rewrite the GTT table
> before unampping the pages and that makes sense to me.

Dave you mentioned on IRC that this is not sufficient to quieten DMAR,
right?  The unbind+unmap looks safer than unmap+unbind, so that seems to
be a good patch regardless.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list