Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / include / nvif / cl0046.h
blobd490d401870ad77e22446161d13ccf2d47ff4b2f
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVIF_CL0046_H__
3 #define __NVIF_CL0046_H__
5 #define NV04_DISP_NTFY_VBLANK 0x00
6 #define NV04_DISP_NTFY_CONN 0x01
8 struct nv04_disp_mthd_v0 {
9 __u8 version;
10 #define NV04_DISP_SCANOUTPOS 0x00
11 __u8 method;
12 __u8 head;
13 __u8 pad03[5];
16 struct nv04_disp_scanoutpos_v0 {
17 __u8 version;
18 __u8 pad01[7];
19 __s64 time[2];
20 __u16 vblanks;
21 __u16 vblanke;
22 __u16 vtotal;
23 __u16 vline;
24 __u16 hblanks;
25 __u16 hblanke;
26 __u16 htotal;
27 __u16 hline;
29 #endif