]> Pileus Git - ~andy/linux/commitdiff
drm/i915: Re-enable GPU semaphores for SandyBridge mobile
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Mar 2011 19:22:52 +0000 (19:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 1 Mar 2011 19:22:52 +0000 (19:22 +0000)
This seems to be running stably on my test laptop, so hopefully the
reported hangs where just symptoms of other bugs.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem_execbuffer.c

index 1c3b76a8a6fba751dfb05f868520bf930c1db1e0..d461ad5f929020c0f2b8c4d96fee44f302815bc5 100644 (file)
@@ -744,8 +744,7 @@ i915_gem_execbuffer_sync_rings(struct drm_i915_gem_object *obj,
        if (from == NULL || to == from)
                return 0;
 
-       /* XXX gpu semaphores are currently causing hard hangs on SNB mobile */
-       if (INTEL_INFO(obj->base.dev)->gen < 6 || IS_MOBILE(obj->base.dev))
+       if (INTEL_INFO(obj->base.dev)->gen < 6)
                return i915_gem_object_wait_rendering(obj);
 
        idx = intel_ring_sync_index(from, to);