Skip to content

Commit fc6afa0

Browse files
superm1gregkh
authored andcommitted
drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too
commit ba1959f upstream. Stuart Hayhurst has found that both at bootup and fullscreen VA-API video is leading to black screens for around 1 second and kernel WARNING [1] traces when calling dmub_psr_enable() with Parade 08-01 TCON. These symptoms all go away with PSR-SU disabled for this TCON, so disable it for now while DMUB traces [2] from the failure can be analyzed and the failure state properly root caused. Cc: Marc Rossi <[email protected]> Cc: Hamza Mahfooz <[email protected]> Link: https://gitlab.freedesktop.org/drm/amd/uploads/a832dd515b571ee171b3e3b566e99a13/dmesg.log [1] Link: https://gitlab.freedesktop.org/drm/amd/uploads/8f13ff3b00963c833e23e68aa8116959/output.log [2] Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/2645 Reviewed-by: Leo Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit afb634a) Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 3f73d7b commit fc6afa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/display/modules/power/power_helpers.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,8 @@ bool is_psr_su_specific_panel(struct dc_link *link)
841841
isPSRSUSupported = false;
842842
else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x03)
843843
isPSRSUSupported = false;
844+
else if (dpcd_caps->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x01)
845+
isPSRSUSupported = false;
844846
else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1)
845847
isPSRSUSupported = true;
846848
}

0 commit comments

Comments
 (0)