Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
30 lines
639 B
C
30 lines
639 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NVIF_CL0046_H__
|
|
#define __NVIF_CL0046_H__
|
|
|
|
#define NV04_DISP_NTFY_VBLANK 0x00
|
|
#define NV04_DISP_NTFY_CONN 0x01
|
|
|
|
struct nv04_disp_mthd_v0 {
|
|
__u8 version;
|
|
#define NV04_DISP_SCANOUTPOS 0x00
|
|
__u8 method;
|
|
__u8 head;
|
|
__u8 pad03[5];
|
|
};
|
|
|
|
struct nv04_disp_scanoutpos_v0 {
|
|
__u8 version;
|
|
__u8 pad01[7];
|
|
__s64 time[2];
|
|
__u16 vblanks;
|
|
__u16 vblanke;
|
|
__u16 vtotal;
|
|
__u16 vline;
|
|
__u16 hblanks;
|
|
__u16 hblanke;
|
|
__u16 htotal;
|
|
__u16 hline;
|
|
};
|
|
#endif
|