18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: MIT */ 28c2ecf20Sopenharmony_ci#ifndef __NVIF_CL0046_H__ 38c2ecf20Sopenharmony_ci#define __NVIF_CL0046_H__ 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#define NV04_DISP_NTFY_VBLANK 0x00 68c2ecf20Sopenharmony_ci#define NV04_DISP_NTFY_CONN 0x01 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cistruct nv04_disp_mthd_v0 { 98c2ecf20Sopenharmony_ci __u8 version; 108c2ecf20Sopenharmony_ci#define NV04_DISP_SCANOUTPOS 0x00 118c2ecf20Sopenharmony_ci __u8 method; 128c2ecf20Sopenharmony_ci __u8 head; 138c2ecf20Sopenharmony_ci __u8 pad03[5]; 148c2ecf20Sopenharmony_ci}; 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_cistruct nv04_disp_scanoutpos_v0 { 178c2ecf20Sopenharmony_ci __u8 version; 188c2ecf20Sopenharmony_ci __u8 pad01[7]; 198c2ecf20Sopenharmony_ci __s64 time[2]; 208c2ecf20Sopenharmony_ci __u16 vblanks; 218c2ecf20Sopenharmony_ci __u16 vblanke; 228c2ecf20Sopenharmony_ci __u16 vtotal; 238c2ecf20Sopenharmony_ci __u16 vline; 248c2ecf20Sopenharmony_ci __u16 hblanks; 258c2ecf20Sopenharmony_ci __u16 hblanke; 268c2ecf20Sopenharmony_ci __u16 htotal; 278c2ecf20Sopenharmony_ci __u16 hline; 288c2ecf20Sopenharmony_ci}; 298c2ecf20Sopenharmony_ci#endif 30