<div dir="ltr">The rest of the series was a reference for the records of what I had and let semaphores on bdw a bit more stable. But even with them we still get hungs so please consider only to get the revert for now.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 4, 2014 at 11:15 AM, Rodrigo Vivi <span dir="ltr"><<a href="mailto:rodrigo.vivi@intel.com" target="_blank">rodrigo.vivi@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This reverts commit 521e62e49a42661a4ee0102644517dbe2f100a23.<br>
<br>
Although POST_SYNC brought a bit of stability to Semaphores on BDW<br>
it didn't solved all issues and some hungs can still occour when<br>
semaphores are enabled on BDW. Also some sloweness can be found on some<br>
igt tests, althoguth it apparently doesn't affect real workloads.<br>
<br>
Besides that, no real performance gain was found on our tests with different<br>
and even multiple workloads.<br>
<br>
Let's disable it again for now. At least until we are sure it is safe<br>
to re-enable it.<br>
<br>
Signed-off-by: Rodrigo Vivi <<a href="mailto:rodrigo.vivi@intel.com">rodrigo.vivi@intel.com</a>><br>
---<br>
drivers/gpu/drm/i915/i915_drv.c | 4 ++++<br>
1 file changed, 4 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c<br>
index 6c4b25c..ec96f9a 100644<br>
--- a/drivers/gpu/drm/i915/i915_drv.c<br>
+++ b/drivers/gpu/drm/i915/i915_drv.c<br>
@@ -481,6 +481,10 @@ bool i915_semaphore_is_enabled(struct drm_device *dev)<br>
if (i915.semaphores >= 0)<br>
return i915.semaphores;<br>
<br>
+ /* Until we get further testing... */<br>
+ if (IS_GEN8(dev))<br>
+ return false;<br>
+<br>
#ifdef CONFIG_INTEL_IOMMU<br>
/* Enable semaphores on SNB when IO remapping is off */<br>
if (INTEL_INFO(dev)->gen == 6 && intel_iommu_gfx_mapped)<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.3<br>
<br>
_______________________________________________<br>
Intel-gfx mailing list<br>
<a href="mailto:Intel-gfx@lists.freedesktop.org">Intel-gfx@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/intel-gfx" target="_blank">http://lists.freedesktop.org/mailman/listinfo/intel-gfx</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Rodrigo Vivi</div><div>Blog: <a href="http://blog.vivi.eng.br" target="_blank">http://blog.vivi.eng.br</a></div><div> </div>
</div>