drm/amd: Disable PSR-SU on Parade 0803 TCON
Subsystems (3)
PATCH 1/1 drm/amd: Disable PSR-SU on Parade 0803 TCON
A number of users have reported that there are random hangs occurring caused by PSR-SU specifically on panels that contain the parade 0803 TCON. Users have been able to work around the issue by disabling PSR entirely.
To avoid these hangs, disable PSR-SU when this TCON is found.
Cc Sean Wang <[email protected]>
Cc Marc Rossi <[email protected]>
Cc Hamza Mahfooz <[email protected]>
Suggested-by Tsung-hua (Ryan) Lin <[email protected]>
Signed-off-by Mario Limonciello <[email protected]>
--- drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/display/modules/power/power_helpers.c +2 -0
@@ -839,6 +839,8 @@ bool is_psr_su_specific_panel(struct dc_link *link) ((dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x08) || (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x07))) isPSRSUSupported = false; + else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x03) + isPSRSUSupported = false; else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1) isPSRSUSupported = true; }
Signature · 1 line
2.34.1
Quoted 5 lines · Mario Limonciello
A number of users have reported that there are random hangs occurring caused by PSR-SU specifically on panels that contain the parade 0803 TCON. Users have been able to work around the issue by disabling PSR entirely.
Quoted 8 lines
To avoid these hangs, disable PSR-SU when this TCON is found.
Cc Sean Wang <[email protected]>Cc Marc Rossi <[email protected]>Cc Hamza Mahfooz <[email protected]>Suggested-by Tsung-hua (Ryan) Lin <[email protected]>Signed-off-by Mario Limonciello <[email protected]>
Reviewed-by Hamza Mahfooz <[email protected]>
Quoted 17 lines
--- drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/amd/display/modules/power/power_helpers.c +2
-0@@ -839,6 +839,8 @@ bool is_psr_su_specific_panel(struct dc_link *link) ((dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x08) || (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x07))) isPSRSUSupported = false; + else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x03) + isPSRSUSupported = false; else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1) isPSRSUSupported = true; }
Signature · 1 line
Hamza