drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too
PATCH 1/1 drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too
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.
---
--- 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
@@ -841,6 +841,8 @@ bool is_psr_su_specific_panel(struct dc_link *link) 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->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x01) + isPSRSUSupported = false; else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1) isPSRSUSupported = true; }
Signature · 1 line
2.34.1
Hi, can this be considered again please? Still facing issues with the 660M in my Lenovo Yoga 7 14ARB7. This fixes the weird behaviour I have with black screens, back-traces and flickering.
[AMD Official Use Only - AMD Internal Distribution Only]
Hi Stuart,
Is this on a mainline 6.11.y or 6.12-rc3 kernel? Can you please open up a new issue with all the details? You can ping it back here.
Thanks,
Quoted 12 lines
-----Original Message-----
From: Stuart Hayhurst <[email protected]>
Sent: Sunday, October 13, 2024 16:31
To: Limonciello, Mario <[email protected]>
Cc: Mahfooz, Hamza <[email protected]>; Rossi, Marc <[email protected]>; [email protected]; [email protected]
Subject: Re: [PATCH] drm/amd/display: Disable PSR-SU on Parade 08-01 TCON tooHi, can this be considered again please? Still facing issues with the 660M in my Lenovo Yoga 7 14ARB7. This fixes the weird behaviour I have with black screens, back-traces and flickering.
Quoted 1 line
Is this on a mainline 6.11.y or 6.12-rc3 kernel? Can you please open up a new issue with all the details? You can ping it back here.
Currently a Debian 6.11.2 kernel, but I did reproduce it with a mainline 6.10 and earlier versions in the past.
Issue link: https://gitlab.freedesktop.org/drm/amd/-/issues/3688
Quoted 8 lines · Mario Limonciello
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.
Quoted 7 lines
Cc Marc Rossi <[email protected]>Cc Hamza Mahfooz <[email protected]>Signed-off-by Mario Limonciello <[email protected]>
Thanks
Quoted 18 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@@ -841,6 +841,8 @@ bool is_psr_su_specific_panel(struct dc_link *link) 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->sink_dev_id_str[1] == 0x08 && dpcd_caps->sink_dev_id_str[0] == 0x01) + isPSRSUSupported = false; else if (dpcd_caps->psr_info.force_psrsu_cap == 0x1) isPSRSUSupported = true; }