xref: /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/if0000.h (revision 41ec02673d281bbb3d38e6c78504ce6e30c228c1)
1 /*	$NetBSD: if0000.h,v 1.2 2021/12/18 23:45:33 riastradh Exp $	*/
2 
3 /* SPDX-License-Identifier: MIT */
4 #ifndef __NVIF_IF0000_H__
5 #define __NVIF_IF0000_H__
6 
7 struct nvif_client_v0 {
8 	__u8  version;
9 	__u8  pad01[7];
10 	__u64 device;
11 	char  name[32];
12 };
13 
14 #define NVIF_CLIENT_V0_DEVLIST                                             0x00
15 
16 struct nvif_client_devlist_v0 {
17 	__u8  version;
18 	__u8  count;
19 	__u8  pad02[6];
20 	__u64 device[];
21 };
22 #endif
23