Bug 57969

Summary: [softpipe] piglit timer_query regression
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: jfonseca
Version: gitKeywords: regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2012-12-07 06:33:48 UTC
mesa: 5b2a3443facc561f928fe054abd3542cdda51be9 (master)

Run piglit timer_query on softpipe.

$ ./bin/timer_query -auto
timer_query: 32 and 64-bit results differ!
PIGLIT: {'result': 'fail' }

d296326e065ed9685bd27d62a3ba20d8a8996e6f is the first bad commit
commit d296326e065ed9685bd27d62a3ba20d8a8996e6f
Author: José Fonseca <jfonseca@vmware.com>
Date:   Wed Dec 5 08:59:21 2012 +0000

    gallium/os: Cleanup up os_time_get/os_time_get_nano.

    - Re-implement os_time_get in terms of os_time_get_nano() for consistency
    - Use CLOCK_MONOTONIC as recommended
    - Only use clock_gettime on Linux for now.

    Reviewed-by: Brian Paul <brianp@vmware.com>

:040000 040000 e1e5f9811720649b2648c0e6a5f2fdf663853cf7 362cdff9972a53c340f56d70cc830b4e382990a4 M      scons
:040000 040000 02545d8d692536d5e94981dc7f0c555ccf95b8ef 8a8227632c9ee0015d096dede323683e37bc2df8 M      src
bisect run success
Comment 1 Jose Fonseca 2012-12-08 11:13:24 UTC
Thanks Vinson. Should be fixed with

commit 122dfc5ee25ec4faf040baf5dc834d144bb3a42c
Author: José Fonseca <jose.r.fonseca@gmail.com>
Date:   Sat Dec 8 11:15:46 2012 +0000

    gallium/os: Fix nano->micro second concersion.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.