[Mesa-dev] [PATCH 07/70] i965: Combine the multiple pipelined register detection into one round-trip
kenneth at whitecape.org
Mon Aug 10 12:00:58 PDT 2015
On Friday, August 07, 2015 09:13:11 PM Chris Wilson wrote:
> Combining the multiple access checks into a few batches and a single
> serialising read can reduce detection times from around 100us to 70us on
> a fast Haswell system.
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
> src/mesa/drivers/dri/i965/intel_screen.c | 165 +++++++++++++++++++------------
> 1 file changed, 101 insertions(+), 64 deletions(-)
I don't think we should do this. The existing AMD_performance_monitor
and INTEL_performance_query code produces bogus data, and is not useful.
Robert Bragg's patches from May essentially delete our existing OA
backend, and replace it with a new one that uses perf ioctls. At that
point, we no longer need to write OACONTROL directly from userspace,
so we don't need to check whether it works. This brings us back down
to one register write check.
I'm not sure about the status of Robert's patches, but we can certainly
delete our existing implementation in the meantime.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part.
More information about the mesa-dev