[Intel-gfx] [PATCH 55/62] [v2] drm/i915/bdw: Disable semaphores
Ben Widawsky
benjamin.widawsky at intel.com
Tue Nov 5 04:45:44 CET 2013
From: Ben Widawsky <ben at bwidawsk.net>
We've done insufficient testing on them thus far, so keep them disabled
until we do test.
v2: Use WARN when not enabling preliminary HW support as this should
only be disabled for that case.
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
---
drivers/gpu/drm/i915/i915_drv.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index e0a061b..45981c5 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -478,6 +478,13 @@ 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)) {
+ WARN_ON(!i915_preliminary_hw_support);
+ DRM_INFO("Semaphores disabled GEN8\n");
+ return 0;
+ }
+
if (i915_semaphores >= 0)
return i915_semaphores;
--
1.8.4.2
More information about the Intel-gfx
mailing list