1 /* $NetBSD: cl0046.h,v 1.2 2021/12/18 23:45:33 riastradh Exp $ */ 2 3 /* SPDX-License-Identifier: MIT */ 4 #ifndef __NVIF_CL0046_H__ 5 #define __NVIF_CL0046_H__ 6 7 #define NV04_DISP_NTFY_VBLANK 0x00 8 #define NV04_DISP_NTFY_CONN 0x01 9 10 struct nv04_disp_mthd_v0 { 11 __u8 version; 12 #define NV04_DISP_SCANOUTPOS 0x00 13 __u8 method; 14 __u8 head; 15 __u8 pad03[5]; 16 }; 17 18 struct nv04_disp_scanoutpos_v0 { 19 __u8 version; 20 __u8 pad01[7]; 21 __s64 time[2]; 22 __u16 vblanks; 23 __u16 vblanke; 24 __u16 vtotal; 25 __u16 vline; 26 __u16 hblanks; 27 __u16 hblanke; 28 __u16 htotal; 29 __u16 hline; 30 }; 31 #endif 32