summaryrefslogtreecommitdiff
path: root/freedreno/freedreno_pipe.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2014-08-04 11:23:20 +0200
committerMaarten Lankhorst <dev@mblankhorst.nl>2014-08-14 21:59:19 +0200
commit479b6cef702f26d886b3f6ccfd48d5e39a623944 (patch)
tree4adbf8a8114ec41fd8280ed8b4123bb0297ebfc3 /freedreno/freedreno_pipe.c
parent2d1044cc47a00a6e9bcc49aca72680a77b447c9b (diff)
freedreno: Use symbol visibility.
Hiding fd_device_del_locked, and fd_cleanup_bo_cache. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Diffstat (limited to 'freedreno/freedreno_pipe.c')
-rw-r--r--freedreno/freedreno_pipe.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/freedreno/freedreno_pipe.c b/freedreno/freedreno_pipe.c
index 805bf008..f55aaa40 100644
--- a/freedreno/freedreno_pipe.c
+++ b/freedreno/freedreno_pipe.c
@@ -29,7 +29,8 @@
#include "freedreno_drmif.h"
#include "freedreno_priv.h"
-struct fd_pipe * fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id)
+drm_public struct fd_pipe *
+fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id)
{
struct fd_pipe *pipe = NULL;
@@ -54,18 +55,18 @@ fail:
return NULL;
}
-void fd_pipe_del(struct fd_pipe *pipe)
+drm_public void fd_pipe_del(struct fd_pipe *pipe)
{
pipe->funcs->destroy(pipe);
}
-int fd_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param,
- uint64_t *value)
+drm_public int fd_pipe_get_param(struct fd_pipe *pipe,
+ enum fd_param_id param, uint64_t *value)
{
return pipe->funcs->get_param(pipe, param, value);
}
-int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp)
+drm_public int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp)
{
return pipe->funcs->wait(pipe, timestamp);
}