@@ -48,7 +48,7 @@ int etna_pipe_wait_ns(struct etna_pipe *pipe, uint32_t timestamp, uint64_t ns)
if (ns == 0)
req.flags |= ETNA_WAIT_NONBLOCK;
- get_abs_timeout_ns(&req.timeout, ns);
+ get_abs_timeout(&req.timeout, ns);
ret = drmCommandWrite(dev->fd, DRM_ETNAVIV_WAIT_FENCE, &req, sizeof(req));
if (ret) {
@@ -189,7 +189,7 @@ struct etna_cmd_stream_priv {
#define VOID2U64(x) ((uint64_t)(unsigned long)(x))
-static inline void get_abs_timeout_ns(struct drm_etnaviv_timespec *tv, uint64_t ns)
+static inline void get_abs_timeout(struct drm_etnaviv_timespec *tv, uint64_t ns)
{
struct timespec t;
uint32_t s = ns / 1000000000;
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> --- etnaviv/etnaviv_pipe.c | 2 +- etnaviv/etnaviv_priv.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)