File Index
Files and directories
Sign in
FILE

device.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/nouveau/include/nvif/device.h C
 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
~/ Read-only file preview.