1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVIF_CL5070_H__
3 #define __NVIF_CL5070_H__
5 #define NV50_DISP_MTHD 0x00
7 struct nv50_disp_mthd_v0
{
9 #define NV50_DISP_SCANOUTPOS 0x00
15 struct nv50_disp_scanoutpos_v0
{
29 struct nv50_disp_mthd_v1
{
31 #define NV50_DISP_MTHD_V1_ACQUIRE 0x01
32 #define NV50_DISP_MTHD_V1_RELEASE 0x02
33 #define NV50_DISP_MTHD_V1_DAC_LOAD 0x11
34 #define NV50_DISP_MTHD_V1_SOR_HDA_ELD 0x21
35 #define NV50_DISP_MTHD_V1_SOR_HDMI_PWR 0x22
36 #define NV50_DISP_MTHD_V1_SOR_LVDS_SCRIPT 0x23
37 #define NV50_DISP_MTHD_V1_SOR_DP_MST_LINK 0x25
38 #define NV50_DISP_MTHD_V1_SOR_DP_MST_VCPI 0x26
45 struct nv50_disp_acquire_v0
{
53 struct nv50_disp_dac_load_v0
{
60 struct nv50_disp_sor_hda_eld_v0
{
66 struct nv50_disp_sor_hdmi_pwr_v0
{
71 __u8 avi_infoframe_length
;
72 __u8 vendor_infoframe_length
;
73 #define NV50_DISP_SOR_HDMI_PWR_V0_SCDC_SCRAMBLE (1 << 0)
74 #define NV50_DISP_SOR_HDMI_PWR_V0_SCDC_DIV_BY_4 (1 << 1)
79 struct nv50_disp_sor_lvds_script_v0
{
86 struct nv50_disp_sor_dp_mst_link_v0
{
92 struct nv50_disp_sor_dp_mst_vcpi_v0
{