drm/nouveau: port all engines to new engine module format
[deliverable/linux.git] / drivers / gpu / drm / nouveau / core / include / core / ramht.h
1 #ifndef __NOUVEAU_RAMHT_H__
2 #define __NOUVEAU_RAMHT_H__
3
4 #include <core/gpuobj.h>
5
6 struct nouveau_ramht {
7 struct nouveau_gpuobj base;
8 int bits;
9 };
10
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 **);
16
17 static inline void
18 nouveau_ramht_ref(struct nouveau_ramht *obj, struct nouveau_ramht **ref)
19 {
20 nouveau_gpuobj_ref(&obj->base, (struct nouveau_gpuobj **)ref);
21 }
22
23 #endif
This page took 0.031902 seconds and 5 git commands to generate.