1 #ifndef __NOUVEAU_RAMHT_H__
2 #define __NOUVEAU_RAMHT_H__
4 #include <core/gpuobj.h>
7 struct nouveau_gpuobj base;
11 int nouveau_ramht_insert(struct nouveau_ramht *, int chid,
12 u32 handle, u32 context);
13 void nouveau_ramht_remove(struct nouveau_ramht *, int cookie);
14 int nouveau_ramht_new(struct nouveau_object *, struct nouveau_object *,
15 u32 size, u32 align, struct nouveau_ramht **);
18 nouveau_ramht_ref(struct nouveau_ramht *obj, struct nouveau_ramht **ref)
20 nouveau_gpuobj_ref(&obj->base, (struct nouveau_gpuobj **)ref);