]> git.karo-electronics.de Git - mv-sheeva.git/commit
drm/i915/gtt: Unmap the PCI pages after unbinding them from the GTT
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 11:07:54 +0000 (11:07 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:44:56 +0000 (20:44 +0000)
commitd9126400580e2caada85fa68799952956a6062fd
tree094e340efb97cb2d232437250ea76747560098c7
parentbcfb2e285827bf0cfea8bbfad18a4fca57fbabae
drm/i915/gtt: Unmap the PCI pages after unbinding them from the GTT

Dave Airlie spotted that his ILK laptop with DMAR enabled was generating
the occasional DMAR warning.

"The ordering in the previous code was to rewrite the GTT table before
unmapping the pages and that makes sense to me."

This is his stable patch ported to d-i-n.

Reported-by: Dave Airlie <airlied@redhat.com>
Original-patch-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem_gtt.c