Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Get panel replay capability from DPCD

[Why&How]
Read Panel replay caps from DPCD when retrieving link capability

Reviewed-by: Robin Chen <robin.chen@amd.com>
Signed-off-by: Jack Chang <jack.chang@amd.com>
Signed-off-by: Leon Huang <Leon.Huang1@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Jack Chang and committed by
Alex Deucher
c798836b 2e6c79e4

+16
+11
drivers/gpu/drm/amd/display/dc/dc_dp_types.h
··· 1157 1157 bool cable_id_written; 1158 1158 }; 1159 1159 1160 + union dpcd_panel_replay_capability_supported { 1161 + struct { 1162 + unsigned char PANEL_REPLAY_SUPPORT :1; 1163 + unsigned char SELECTIVE_UPDATE_SUPPORT :1; 1164 + unsigned char EARLY_TRANSPORT_SUPPORT :1; 1165 + unsigned char RESERVED :5; 1166 + } bits; 1167 + unsigned char raw; 1168 + }; 1169 + 1160 1170 enum dpcd_downstream_port_max_bpc { 1161 1171 DOWN_STREAM_MAX_8BPC = 0, 1162 1172 DOWN_STREAM_MAX_10BPC, ··· 1290 1280 struct edp_psr_info psr_info; 1291 1281 1292 1282 struct replay_info pr_info; 1283 + union dpcd_panel_replay_capability_supported pr_caps_supported; 1293 1284 uint16_t edp_oled_emission_rate; 1294 1285 union dp_receive_port0_cap receive_port0_cap; 1295 1286 /* Indicates the number of SST links supported by MSO (Multi-Stream Output) */