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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux