[Intel-gfx] [PATCH] drm/i915: re-disable semaphores on sandy bridge
Eugeni Dodonov
eugeni at dodonov.net
Fri Dec 23 13:00:51 CET 2011
From: Eugeni Dodonov <eugeni.dodonov at intel.com>
Per report from Udo Steinberg, enablement of semaphores causes issues on
his Sandy Bridge. So disabling them again for this platform.
Note that they are still enabled by default for Ivy Bridge.
Reported-by: Udo Steinberg <udo at hypervisor.org>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
---
drivers/gpu/drm/i915/i915_gem_execbuffer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
index c681dc1..d108ba2 100644
--- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
@@ -756,9 +756,9 @@ intel_enable_semaphores(struct drm_device *dev)
if (i915_semaphores >= 0)
return i915_semaphores;
- /* Enable semaphores on SNB when IO remapping is off */
+ /* Semaphores are disabled on Sandy Bridge and earlier platforms for now */
if (INTEL_INFO(dev)->gen == 6)
- return !intel_iommu_enabled;
+ return 0;
return 1;
}
--
1.7.8
More information about the Intel-gfx
mailing list