mesa/src
Lionel Landwerlin 31b11f69f7 i965: perf: keep on reading reports until delimiting timestamp
Due to an underlying hardware race condition, we have no guarantee
that all the reports coming from the OA buffer related to the workload
we're trying to measure have landed to memory by the time all the work
submitted has completed. That means we need to keep on reading the OA
stream until we read a report with a timestamp more recent than the
timestamp recored by the MI_REPORT_PERF_COUNT at the end of the
performance query.

v2: fix uninitialized offset variable to 0 (Lionel)

v3: rework the reading to avoid blocking the user of the API unless
    requested (Rob)

v4: fix a bug that makes the i965 driver reading the perf stream when
    not necessary, leading to very long counter accumulation times
    (Lionel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2017-06-27 14:10:29 +03:00
..
amd ac/nir: convert emit helpers to ac_llvm_context 2017-06-27 10:28:30 +10:00
compiler nir: implement GLSL.std.450 NMax, NMIn and NClamp operations 2017-06-27 12:01:11 +02:00
egl egl_dri2: swrastGetDrawableInfo: set *x, *y [v2] 2017-06-26 12:48:19 +01:00
gallium i915: use different CFLAGS/LIBS variables than i965/anv 2017-06-27 14:10:29 +03:00
gbm gbm: implement FD import with modifier 2017-06-15 10:43:36 +01:00
getopt
glx egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv/i965: drop libdrm_intel dependency completely 2017-06-27 14:10:29 +03:00
loader egl: turn one more boolean int into a bool 2017-06-21 21:42:14 +01:00
mapi mesa: add KHR_no_error support for glCopyTexImage*D() 2017-06-27 08:27:11 +10:00
mesa i965: perf: keep on reading reports until delimiting timestamp 2017-06-27 14:10:29 +03:00
util mesa/glthread: add glthread "perf" counters and pass them to gallium HUD 2017-06-26 02:17:03 +02:00
vulkan Android: vulkan: fix build error due to extra ) 2017-06-08 07:26:04 -05:00
Makefile.am automake: increase the MESA_GIT_SHA1 hash id length from 7 to 10 digits 2017-06-15 13:53:00 -06:00
SConscript