dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libdrm v4 0/2] etna_pipe_wait_ns(..)
@ 2016-11-24  8:46 Christian Gmeiner
  2016-11-24  8:46 ` [PATCH libdrm v4 1/2] etnaviv: change get_abs_timeout(..) to use ns Christian Gmeiner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christian Gmeiner @ 2016-11-24  8:46 UTC (permalink / raw)
  To: dri-devel

Add an API to pass the timeout value (ns) from pipe->fence_finish(..)
to the kernel. The current API accepts ms and special handling is needed
for PIPE_TIMEOUT_INFINITE.

The idea is not to break old mesa (out-of-tree) + new libdrm.

Changes from v2 to v3:
 - Builds at each step
 - Keep the _ns postfix of get_abs_timeout_ns(..)
 
Changes from v3 to v4:
 - Rework the patches based on Emil's suggestion.
 
Christian Gmeiner (2):
  etnaviv: change get_abs_timeout(..) to use ns.
  etnaviv: add etna_pipe_wait_ns(..)

 etnaviv/etnaviv-symbol-check | 1 +
 etnaviv/etnaviv_bo.c         | 2 +-
 etnaviv/etnaviv_drmif.h      | 1 +
 etnaviv/etnaviv_pipe.c       | 9 +++++++--
 etnaviv/etnaviv_priv.h       | 6 +++---
 5 files changed, 13 insertions(+), 6 deletions(-)

-- 
2.7.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2016-11-24 12:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24  8:46 [PATCH libdrm v4 0/2] etna_pipe_wait_ns(..) Christian Gmeiner
2016-11-24  8:46 ` [PATCH libdrm v4 1/2] etnaviv: change get_abs_timeout(..) to use ns Christian Gmeiner
2016-11-24  8:46 ` [PATCH libdrm v4 2/2] etnaviv: add etna_pipe_wait_ns(..) Christian Gmeiner
2016-11-24 12:26 ` [PATCH libdrm v4 0/2] etna_pipe_wait_ns(..) Emil Velikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).