intel-gtt: generic (insert|remove)_entries for i915
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 11 Sep 2010 20:12:11 +0000 (22:12 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:36:38 +0000 (11:36 +0100)
commitfefaa70f0c7fa406492039e35b69b83fc13e163a
treec9f721ad19884c401774d926b65a6c4f8b08a037
parent5cbecafce4ee8ab73c194911e01a77a7a07f034e
intel-gtt: generic (insert|remove)_entries for i915

Beef up the generic version to support dmar. Otherwise like for the i830.

v2: Don't try to DMA remap on resume for already remapped pages.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-gtt.c