diff options
author | Chris Wilson <[email protected]> | 2013-12-30 12:16:15 +0000 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2014-01-07 08:10:54 +0100 |
commit | c0a7f818997f58b2c184a3ff313c170c411b88b4 (patch) | |
tree | 46b7d4667b181339b17d5d5b6f348826e9e2af7c | |
parent | 3ec2f427e6f82b9b8f9b18dd2c758b864385df39 (diff) |
drm/i915: Mention when we enable the Ironlake iommu workarounds
The iommu and gfx on Ironlake do not like each other and require a
big hammer to prevent hard machine hangs. In
commit 5c0422878fcdc279ae9a8e8b66972a15b5efb67f
Author: Ben Widawsky <[email protected]>
Date: Mon Oct 17 15:51:55 2011 -0700
drm/i915: ILK + VT-d workaround
we added the workaround, but never emitted any debug message that it was
active. Doing so should help identify known performance regressions.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Ben Widawsky <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_gtt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c index 056f1f0e2772..9e07a864dec0 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.c +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c @@ -1438,6 +1438,9 @@ static int i915_gmch_probe(struct drm_device *dev, dev_priv->gtt.base.clear_range = i915_ggtt_clear_range; dev_priv->gtt.base.insert_entries = i915_ggtt_insert_entries; + if (unlikely(dev_priv->gtt.do_idle_maps)) + DRM_INFO("applying Ironlake quirks for intel_iommu\n"); + return 0; } |