Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 307424
b: refs/heads/master
c: 59de329
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Vetter committed May 10, 2012
1 parent 8fe08b9 commit d65cb25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38e490fea7d2885d79fcd1ca37edb64e489d470d
refs/heads/master: 59de3295adaf9503e91e7e6d323cf9becef600de
6 changes: 4 additions & 2 deletions trunk/drivers/gpu/drm/i915/i915_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,11 @@ bool i915_semaphore_is_enabled(struct drm_device *dev)
if (i915_semaphores >= 0)
return i915_semaphores;

#ifdef CONFIG_INTEL_IOMMU
/* Enable semaphores on SNB when IO remapping is off */
if (INTEL_INFO(dev)->gen == 6)
return !intel_iommu_enabled;
if (INTEL_INFO(dev)->gen == 6 && intel_iommu_gfx_mapped)
return false;
#endif

return 1;
}
Expand Down

0 comments on commit d65cb25

Please sign in to comment.