summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include/nvif/if0013.h
blob: 6756c7467ae4ef4de2e3fc658e16c96a2848e3db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* SPDX-License-Identifier: MIT */
#ifndef __NVIF_IF0013_H__
#define __NVIF_IF0013_H__

union nvif_head_args {
	struct nvif_head_v0 {
		__u8 version;
		__u8 id;
		__u8 pad02[6];
	} v0;
};

union nvif_head_event_args {
	struct nvif_head_event_vn {
	} vn;
};

#define NVIF_HEAD_V0_SCANOUTPOS 0x00

union nvif_head_scanoutpos_args {
	struct nvif_head_scanoutpos_v0 {
		__u8  version;
		__u8  pad01[7];
		__s64 time[2];
		__u16 vblanks;
		__u16 vblanke;
		__u16 vtotal;
		__u16 vline;
		__u16 hblanks;
		__u16 hblanke;
		__u16 htotal;
		__u16 hline;
	} v0;
};
#endif