1 /* SPDX-License-Identifier: MIT */ 2 #ifndef __NVIF_IF0013_H__ 3 #define __NVIF_IF0013_H__ 4 5 union nvif_head_args { 6 struct nvif_head_v0 { 7 __u8 version; 8 __u8 id; 9 __u8 pad02[6]; 10 } v0; 11 }; 12 13 union nvif_head_event_args { 14 struct nvif_head_event_vn { 15 } vn; 16 }; 17 18 #define NVIF_HEAD_V0_SCANOUTPOS 0x00 19 20 union nvif_head_scanoutpos_args { 21 struct nvif_head_scanoutpos_v0 { 22 __u8 version; 23 __u8 pad01[7]; 24 __s64 time[2]; 25 __u16 vblanks; 26 __u16 vblanke; 27 __u16 vtotal; 28 __u16 vline; 29 __u16 hblanks; 30 __u16 hblanke; 31 __u16 htotal; 32 __u16 hline; 33 } v0; 34 }; 35 #endif 36