1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __NVIF_CL0046_H__ 3 #define __NVIF_CL0046_H__ 4 5 #define NV04_DISP_NTFY_VBLANK 0x00 6 #define NV04_DISP_NTFY_CONN 0x01 7 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]; 14 }; 15 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; 28 }; 29 #endif 30