1 /* SPDX-License-Identifier: GPL-2.0 */
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
{
52 struct nv50_disp_dac_load_v0
{
59 struct nv50_disp_sor_hda_eld_v0
{
65 struct nv50_disp_sor_hdmi_pwr_v0
{
70 __u8 avi_infoframe_length
;
71 __u8 vendor_infoframe_length
;
75 struct nv50_disp_sor_lvds_script_v0
{
82 struct nv50_disp_sor_dp_mst_link_v0
{
88 struct nv50_disp_sor_dp_mst_vcpi_v0
{