WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvif / user.h
blob146986a9fe530437b7533a45c5213a068e47bf46
1 #ifndef __NVIF_USER_H__
2 #define __NVIF_USER_H__
3 #include <nvif/object.h>
4 struct nvif_device;
6 struct nvif_user {
7 const struct nvif_user_func *func;
8 struct nvif_object object;
9 };
11 struct nvif_user_func {
12 void (*doorbell)(struct nvif_user *, u32 token);
13 u64 (*time)(struct nvif_user *);
16 int nvif_user_ctor(struct nvif_device *, const char *name);
17 void nvif_user_dtor(struct nvif_device *);
19 extern const struct nvif_user_func nvif_userc361;
20 #endif