From: Chris Wilson Date: Fri, 29 Apr 2016 11:20:22 +0000 (+0100) Subject: drm/i915: Enable semaphores for legacy submission on gen8 X-Git-Tag: v4.8-rc1~62^2~45^2~126 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c14005a80fd2bcd71dea353bb4d4ef79ac08e47a;p=karo-tx-linux.git drm/i915: Enable semaphores for legacy submission on gen8 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 Acked-by: Daniel Vetter Link: http://patchwork.freedesktop.org/patch/msgid/1461928823-10298-6-git-send-email-chris@chris-wilson.co.uk --- diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 7a0e4d6c71e2..58c48892fa82 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -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)