<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [BAT various] basic-flip-vs-wf_vblank fails with unexpected frame count"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95380#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [BAT various] basic-flip-vs-wf_vblank fails with unexpected frame count"
href="https://bugs.freedesktop.org/show_bug.cgi?id=95380">bug 95380</a>
from <span class="vcard"><a class="email" href="mailto:marius.c.vlad@intel.com" title="Marius Vlad <marius.c.vlad@intel.com>"> <span class="fn">Marius Vlad</span></a>
</span></b>
<pre>Should be fixed in master. Please test.
commit 5cc3175ca5a0374c17bd201ba5a35ef4ff076003
Author: Feceoru, Gabriel <<a href="mailto:gabriel.feceoru@intel.com">gabriel.feceoru@intel.com</a>>
Date: Fri May 13 14:45:09 2016 +0300
tests/kms_flip: Adjust tolerance when counting frames
basic-flip-vs-wf_vblank subtest sometimes fails asserting counted frames to
be aproximately equal with the estimated number.
This is a false negative, one of the reasons being the precision lost when
truncating a fractional number.
Fixed this by using floating point arithmetic.
Cc: Jani Nikula <<a href="mailto:jani.nikula@intel.com">jani.nikula@intel.com</a>>
Cc: Daniel Vetter <<a href="mailto:daniel.vetter@intel.com">daniel.vetter@intel.com</a>>
Bugzilla: <a class="bz_bug_link
bz_status_NEW "
title="NEW - [BAT various] basic-flip-vs-wf_vblank fails with unexpected frame count"
href="show_bug.cgi?id=95380">https://bugs.freedesktop.org/show_bug.cgi?id=95380</a> [mvlad]
Signed-off-by: Gabriel Feceoru <<a href="mailto:gabriel.feceoru@intel.com">gabriel.feceoru@intel.com</a>>
Signed-off-by: Marius Vlad <<a href="mailto:marius.c.vlad@intel.com">marius.c.vlad@intel.com</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>