forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/rockchip/cdn-dp-core.h
....@@ -68,12 +68,14 @@
6868 struct platform_device *audio_pdev;
6969 struct delayed_work event_work;
7070 struct edid *edid;
71
+ struct drm_dp_aux aux;
7172 struct rockchip_drm_sub_dev sub_dev;
7273
7374 struct mutex lock;
7475 bool connected;
7576 bool active;
7677 bool suspended;
78
+ bool use_fw_training;
7779
7880 const struct firmware *fw; /* cdn dp firmware */
7981 unsigned int fw_version; /* cdn fw version */
....@@ -97,6 +99,7 @@
9799 unsigned int max_rate;
98100 u8 lanes;
99101 int active_port;
102
+ u8 train_set[4];
100103
101104 u8 dpcd[DP_RECEIVER_CAP_SIZE];
102105 bool sink_has_audio;