File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
drivers/gpu/drm/amd/display Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -1590,9 +1590,17 @@ static bool retrieve_link_cap(struct dc_link *link)
1590
1590
return false;
1591
1591
}
1592
1592
1593
- if (dp_is_lttpr_present (link ))
1593
+ if (dp_is_lttpr_present (link )) {
1594
1594
configure_lttpr_mode_transparent (link );
1595
1595
1596
+ // Echo TOTAL_LTTPR_CNT back downstream
1597
+ core_link_write_dpcd (
1598
+ link ,
1599
+ DP_TOTAL_LTTPR_CNT ,
1600
+ & link -> dpcd_caps .lttpr_caps .phy_repeater_cnt ,
1601
+ sizeof (link -> dpcd_caps .lttpr_caps .phy_repeater_cnt ));
1602
+ }
1603
+
1596
1604
/* Read DP tunneling information. */
1597
1605
status = dpcd_get_tunneling_device_data (link );
1598
1606
Original file line number Diff line number Diff line change @@ -177,4 +177,9 @@ enum dpcd_psr_sink_states {
177
177
#define DP_SINK_PR_PIXEL_DEVIATION_PER_LINE 0x379
178
178
#define DP_SINK_PR_MAX_NUMBER_OF_DEVIATION_LINE 0x37A
179
179
180
+ /* Remove once drm_dp_helper.h is updated upstream */
181
+ #ifndef DP_TOTAL_LTTPR_CNT
182
+ #define DP_TOTAL_LTTPR_CNT 0xF000A /* 2.1 */
183
+ #endif
184
+
180
185
#endif /* __DAL_DPCD_DEFS_H__ */
You can’t perform that action at this time.
0 commit comments