Skip to content

Commit 1591192

Browse files
committed
drm/i915: Disable GPU semaphores on SandyBridge mobile
Hopefully, this is a temporary measure whilst the root cause is understood. At the moment, we experience a hard hang whilst looping urbanterror that has been identified as a result of the use of semaphores, but so far only on SNB mobile. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32752 Tested-by: mengmeng.meng@intel.com Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
1 parent 595dad7 commit 1591192

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/gpu/drm/i915/i915_gem_execbuffer.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,8 @@ i915_gem_execbuffer_sync_rings(struct drm_i915_gem_object *obj,
772772
if (from == NULL || to == from)
773773
return 0;
774774

775-
if (INTEL_INFO(obj->base.dev)->gen < 6)
775+
/* XXX gpu semaphores are currently causing hard hangs on SNB mobile */
776+
if (INTEL_INFO(obj->base.dev)->gen < 6 || IS_MOBILE(obj->base.dev))
776777
return i915_gem_object_wait_rendering(obj, true);
777778

778779
idx = intel_ring_sync_index(from, to);

0 commit comments

Comments
 (0)