#include "private.h"
-int
+drm_private int
abi16_chan_nv04(struct nouveau_object *obj)
{
struct nouveau_device *dev = (struct nouveau_device *)obj->parent;
return 0;
}
-int
+drm_private int
abi16_chan_nvc0(struct nouveau_object *obj)
{
struct nouveau_device *dev = (struct nouveau_device *)obj->parent;
return 0;
}
-int
+drm_private int
abi16_chan_nve0(struct nouveau_object *obj)
{
struct nouveau_device *dev = (struct nouveau_device *)obj->parent;
return 0;
}
-int
+drm_private int
abi16_engobj(struct nouveau_object *obj)
{
struct drm_nouveau_grobj_alloc req = {
return 0;
}
-int
+drm_private int
abi16_ntfy(struct nouveau_object *obj)
{
struct nv04_notify *ntfy = obj->data;
return 0;
}
-void
+drm_private void
abi16_bo_info(struct nouveau_bo *bo, struct drm_nouveau_gem_info *info)
{
struct nouveau_bo_priv *nvbo = nouveau_bo(bo);
}
}
-int
+drm_private int
abi16_bo_init(struct nouveau_bo *bo, uint32_t alignment,
union nouveau_bo_config *config)
{
#include "nouveau.h"
#ifdef DEBUG
-uint32_t nouveau_debug;
+drm_private uint32_t nouveau_debug;
#define dbg_on(lvl) (nouveau_debug & (1 << lvl))
#define dbg(lvl, fmt, args...) do { \
if (dbg_on((lvl))) \
nouveau_device_open_existing(struct nouveau_device **, int, int, drm_context_t);
/* abi16.c */
-int abi16_chan_nv04(struct nouveau_object *);
-int abi16_chan_nvc0(struct nouveau_object *);
-int abi16_chan_nve0(struct nouveau_object *);
-int abi16_engobj(struct nouveau_object *);
-int abi16_ntfy(struct nouveau_object *);
-void abi16_bo_info(struct nouveau_bo *, struct drm_nouveau_gem_info *);
-int abi16_bo_init(struct nouveau_bo *, uint32_t alignment,
- union nouveau_bo_config *);
+drm_private int abi16_chan_nv04(struct nouveau_object *);
+drm_private int abi16_chan_nvc0(struct nouveau_object *);
+drm_private int abi16_chan_nve0(struct nouveau_object *);
+drm_private int abi16_engobj(struct nouveau_object *);
+drm_private int abi16_ntfy(struct nouveau_object *);
+drm_private void abi16_bo_info(struct nouveau_bo *, struct drm_nouveau_gem_info *);
+drm_private int abi16_bo_init(struct nouveau_bo *, uint32_t alignment,
+ union nouveau_bo_config *);
#endif