Add (internal) MESA_query_timestamp extension to anv/radv
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vulkan: Define new VK_MESA_query_timestamp extension [v2]include/ src/ | +56 | 5 replies | |
| 2/3 | anv: Add new VK_MESA_query_timestamp extension to anv driver [v2]src/ src/ src/ +1 more | +32 | 0 replies | |
| 3/3 | radv: Add new VK_MESA_query_timestamp extension to radv driversrc/ src/ src/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Add (internal) MESA_query_timestamp extension to anv/radv
This extension fetches the current GPU timestamp from the hardware, just like the OpenGL API glGetInteger64v(GL_TIMESTAMP, ×tamp) function.
I need this to correlate GPU and CPU timestamps for the GOOGLE_display_timing extension, but I think it will be useful for applications as well.
I'm not sure this is exactly the API we need for this; it might be better for it to return *two* timestamps, a GPU and a CPU one which were as closely correlated as possible down in the kernel.
The kernel APIs that this calls on anv and radv don't do that, so I didn't want to pretend to offer functionality I couldn't actually supply.
Suggestions on what to do here are welcome!
-keith
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev