drm/i915: Enable semaphores for legacy submission on gen8
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 11:20:22 +0000 (12:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Apr 2016 16:47:08 +0000 (17:47 +0100)
We have sufficient evidence from igt to support that semaphores are in
a working state. Enabling semaphores now for legacy provides a better
comparison of execlists against legacy ring submission.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461928823-10298-6-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.c

index 7a0e4d6c71e2302e0b50ad88a805cda6d549259d..58c48892fa824a78658a8b604ba7f642bba5defe 100644 (file)
@@ -542,10 +542,6 @@ bool i915_semaphore_is_enabled(struct drm_device *dev)
        if (i915.enable_execlists)
                return false;
 
-       /* Until we get further testing... */
-       if (IS_GEN8(dev))
-               return false;
-
 #ifdef CONFIG_INTEL_IOMMU
        /* Enable semaphores on SNB when IO remapping is off */
        if (INTEL_INFO(dev)->gen == 6 && intel_iommu_gfx_mapped)