From 44e9a0258a4cab4a22fc44d1440ea882e3ad0334 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 23 Mar 2015 21:35:38 +0000 Subject: freedreno: annotate the private symbols They are less and easier to track than the public ones. The macro drm_public will be going away by the end of the series. Cc: Rob Clark Signed-off-by: Emil Velikov --- freedreno/msm/msm_priv.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'freedreno/msm/msm_priv.h') diff --git a/freedreno/msm/msm_priv.h b/freedreno/msm/msm_priv.h index 75ae883f..94d23579 100644 --- a/freedreno/msm/msm_priv.h +++ b/freedreno/msm/msm_priv.h @@ -46,7 +46,7 @@ static inline struct msm_device * to_msm_device(struct fd_device *x) return (struct msm_device *)x; } -struct fd_device * msm_device_new(int fd); +drm_private struct fd_device * msm_device_new(int fd); struct msm_pipe { struct fd_pipe base; @@ -61,9 +61,10 @@ static inline struct msm_pipe * to_msm_pipe(struct fd_pipe *x) return (struct msm_pipe *)x; } -struct fd_pipe * msm_pipe_new(struct fd_device *dev, enum fd_pipe_id id); +drm_private struct fd_pipe * msm_pipe_new(struct fd_device *dev, + enum fd_pipe_id id); -struct fd_ringbuffer * msm_ringbuffer_new(struct fd_pipe *pipe, +drm_private struct fd_ringbuffer * msm_ringbuffer_new(struct fd_pipe *pipe, uint32_t size); struct msm_bo { @@ -79,9 +80,9 @@ static inline struct msm_bo * to_msm_bo(struct fd_bo *x) return (struct msm_bo *)x; } -int msm_bo_new_handle(struct fd_device *dev, +drm_private int msm_bo_new_handle(struct fd_device *dev, uint32_t size, uint32_t flags, uint32_t *handle); -struct fd_bo * msm_bo_from_handle(struct fd_device *dev, +drm_private struct fd_bo * msm_bo_from_handle(struct fd_device *dev, uint32_t size, uint32_t handle); static inline void get_abs_timeout(struct drm_msm_timespec *tv, uint32_t ms) -- cgit v1.2.3