[PATCH libdrm v3 0/4] etna_pipe_wait_ns(..)

Christian Gmeiner christian.gmeiner at gmail.com
Wed Nov 23 07:26:17 UTC 2016


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. It may be
possible to break etnaviv's ABI as the gallium driver is not upstream yet
but I am quite unsure whats the best solution.

Changes from v2 to v3:
 - Builds at each step
 - Keep the _ns postfix of get_abs_timeout_ns(..)

Christian Gmeiner (4):
  etnaviv: add etna_pipe_wait_ns(..)
  etnaviv: simplify etna_pipe_wait(..)
  etnaviv: use get_abs_timeout_ns(..) internally
  etnaviv: drop get_abs_timeout(..)

 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



More information about the dri-devel mailing list