[PATCH libdrm v2 3/3] etnaviv: s/get_abs_timeout_ns/get_abs_timeout

Christian Gmeiner christian.gmeiner at gmail.com
Tue Nov 22 22:20:20 UTC 2016


Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 etnaviv/etnaviv_pipe.c | 2 +-
 etnaviv/etnaviv_priv.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etnaviv/etnaviv_pipe.c b/etnaviv/etnaviv_pipe.c
index 6951362..94c5d37 100644
--- a/etnaviv/etnaviv_pipe.c
+++ b/etnaviv/etnaviv_pipe.c
@@ -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) {
diff --git a/etnaviv/etnaviv_priv.h b/etnaviv/etnaviv_priv.h
index 667bf23..feaa5ad 100644
--- a/etnaviv/etnaviv_priv.h
+++ b/etnaviv/etnaviv_priv.h
@@ -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;
-- 
2.7.4



More information about the dri-devel mailing list