[PATCH 55/62] drm/i915/bdw: Disable semaphores

Ben Widawsky
2013-11-03T04:08:29Z

From: Ben Widawsky <ben@bwidawsk.net>

We've done insufficient testing on them thus far, so keep them disabled
until we do test.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
---
drivers/gpu/drm/i915/i915_drv.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 590d999..efb63b0 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -478,6 +478,12 @@ bool i915_semaphore_is_enabled(struct drm_device *dev)
if (INTEL_INFO(dev)->gen < 6)
return 0;

+ /* Until we get further testing... */
+ if (IS_GEN8(dev)) {
+ DRM_INFO("Semaphores disabled GEN8\n");
+ return 0;
+ }
+
if (i915_semaphores >= 0)
return i915_semaphores;

--
1.8.4.2