at commit c03c1a14

1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVIF_DEVICE_H__
3 #define __NVIF_DEVICE_H__
4
5 #include <nvif/object.h>
6 #include <nvif/cl0080.h>
7 #include <nvif/user.h>
8
9 struct nvif_device {
10 struct nvif_object object;
11 struct nv_device_info_v0 info;
12
13 struct nvif_fifo_runlist {
14 u64 engines;
15 } *runlist;
16 int runlists;
17
18 struct nvif_user user;
19 };
20
21 int nvif_device_ctor(struct nvif_client *, const char *name, struct nvif_device *);
22 void nvif_device_dtor(struct nvif_device *);
23 int nvif_device_map(struct nvif_device *);
24 u64 nvif_device_time(struct nvif_device *);
25 int nvif_device_gcx_ready(struct nvif_device *);
26 #endif