[Bug 95380] [BAT various] basic-flip-vs-wf_vblank fails with unexpected frame count

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 16 15:24:03 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95380

--- Comment #3 from Marius Vlad <marius.c.vlad at intel.com> ---
Should be fixed in master. Please test.

commit 5cc3175ca5a0374c17bd201ba5a35ef4ff076003
Author: Feceoru, Gabriel <gabriel.feceoru at intel.com>
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 <jani.nikula at intel.com>
    Cc: Daniel Vetter <daniel.vetter at intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95380 [mvlad]
    Signed-off-by: Gabriel Feceoru <gabriel.feceoru at intel.com>
    Signed-off-by: Marius Vlad <marius.c.vlad at intel.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160516/55eee082/attachment.html>


More information about the intel-gfx-bugs mailing list