diff options
Diffstat (limited to 'nvkm/include/core/object.h')
-rw-r--r-- | nvkm/include/core/object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nvkm/include/core/object.h b/nvkm/include/core/object.h index c04143b4f..b22e8fd40 100644 --- a/nvkm/include/core/object.h +++ b/nvkm/include/core/object.h @@ -78,6 +78,7 @@ struct nouveau_omthds { int (*call)(struct nouveau_object *, u32, void *, u32); }; +struct nvkm_event; struct nouveau_ofuncs { int (*ctor)(struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, void *data, u32 size, @@ -85,6 +86,9 @@ struct nouveau_ofuncs { void (*dtor)(struct nouveau_object *); int (*init)(struct nouveau_object *); int (*fini)(struct nouveau_object *, bool suspend); + int (*mthd)(struct nouveau_object *, u32, void *, u32); + int (*ntfy)(struct nouveau_object *, u32, struct nvkm_event **); + int (* map)(struct nouveau_object *, u64 *, u32 *); u8 (*rd08)(struct nouveau_object *, u64 offset); u16 (*rd16)(struct nouveau_object *, u64 offset); u32 (*rd32)(struct nouveau_object *, u64 offset); |