Warning: This file is not a C or C++ file. It does not have highlighting.

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
9struct 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
21int nvif_device_ctor(struct nvif_client *, const char *name, struct nvif_device *);
22void nvif_device_dtor(struct nvif_device *);
23int nvif_device_map(struct nvif_device *);
24u64 nvif_device_time(struct nvif_device *);
25#endif
26

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of linux/drivers/gpu/drm/nouveau/include/nvif/device.h