dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Add (internal) MESA_query_timestamp extension to anv/radv
@ 2018-06-23 15:15 Keith Packard
  2018-06-23 15:15 ` [PATCH 1/3] vulkan: Define new VK_MESA_query_timestamp extension [v2] Keith Packard
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Keith Packard @ 2018-06-23 15:15 UTC (permalink / raw)
  To: mesa-dev; +Cc: dri-devel

This extension fetches the current GPU timestamp from the hardware,
just like the OpenGL API glGetInteger64v(GL_TIMESTAMP, &timestamp)
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
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-07-11 15:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-23 15:15 [PATCH 0/3] Add (internal) MESA_query_timestamp extension to anv/radv Keith Packard
2018-06-23 15:15 ` [PATCH 1/3] vulkan: Define new VK_MESA_query_timestamp extension [v2] Keith Packard
2018-06-23 17:13   ` Jason Ekstrand
2018-07-10  7:16     ` Pekka Paalanen
2018-07-10 18:02       ` Keith Packard
2018-07-11  7:31         ` Pekka Paalanen
2018-07-11 15:56           ` Keith Packard
2018-06-23 15:15 ` [PATCH 2/3] anv: Add new VK_MESA_query_timestamp extension to anv driver [v2] Keith Packard
2018-06-23 15:15 ` [PATCH 3/3] radv: Add new VK_MESA_query_timestamp extension to radv driver Keith Packard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox