drm/i915: Re-enable GPU semaphores for SandyBridge mobile
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>
This commit is contained in:
@@ -744,8 +744,7 @@ i915_gem_execbuffer_sync_rings(struct drm_i915_gem_object *obj,
|
|||||||
if (from == NULL || to == from)
|
if (from == NULL || to == from)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* XXX gpu semaphores are currently causing hard hangs on SNB mobile */
|
if (INTEL_INFO(obj->base.dev)->gen < 6)
|
||||||
if (INTEL_INFO(obj->base.dev)->gen < 6 || IS_MOBILE(obj->base.dev))
|
|
||||||
return i915_gem_object_wait_rendering(obj);
|
return i915_gem_object_wait_rendering(obj);
|
||||||
|
|
||||||
idx = intel_ring_sync_index(from, to);
|
idx = intel_ring_sync_index(from, to);
|
||||||
|
Reference in New Issue
Block a user