forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/drivers/gpu/drm/nouveau/include/nvif/cl5070.h
....@@ -1,4 +1,4 @@
1
-/* SPDX-License-Identifier: GPL-2.0 */
1
+/* SPDX-License-Identifier: MIT */
22 #ifndef __NVIF_CL5070_H__
33 #define __NVIF_CL5070_H__
44
....@@ -46,7 +46,8 @@
4646 __u8 version;
4747 __u8 or;
4848 __u8 link;
49
- __u8 pad03[5];
49
+ __u8 hda;
50
+ __u8 pad04[4];
5051 };
5152
5253 struct nv50_disp_dac_load_v0 {
....@@ -69,7 +70,10 @@
6970 __u8 rekey;
7071 __u8 avi_infoframe_length;
7172 __u8 vendor_infoframe_length;
72
- __u8 pad06[2];
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)
75
+ __u8 scdc;
76
+ __u8 pad07[1];
7377 };
7478
7579 struct nv50_disp_sor_lvds_script_v0 {