For some time, I have been working to support GPU timestamps in etnaviv. With recent GPUs it is possible to read out performance related counter values directly in the command stream - no mmio magic in the kernel needed 😃
There are still some rough edges to fix and investigate, but it's great to see how long different GPU operations take.
Also it opens the door to support extensions like ARB_timer_query.
