drm/i915: Fix missed needs_dmar setting
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 13 Dec 2012 15:47:47 +0000 (23:47 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Dec 2012 20:40:24 +0000 (21:40 +0100)
commit20652097dadd9a7fb4d652f25466299974bc78f9
treebad3f5f7d5ea54739d090798597f037737c8c98c
parent335c07b7982eff480afdf8c9b25225511dd07031
drm/i915: Fix missed needs_dmar setting

From Ben's AGP dependence removal change, "needs_dmar" flag has not
been properly setup for new chips using new GTT init function. This
one adds missed setting of that flag to make sure we do pci mappings
with IOMMU enabled.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c