If I close my laptop lid and reopen it, the screen stays blank. Reverting the following commit fixes the issue: commit 9127daa0a8d88a6e6452eb8b7c9be4c3f42a867e Author: Stylon Wang <stylon.wang@amd.com> Date: Tue Mar 2 19:25:56 2021 +0800 drm/amd/display: Guard ASSR with internal display flag [Why] ASSR enabling only considers capability declared in DPCD. We also need to check whether the connector is internal. [How] ASSR enabling need to check both DPCD capability and internal display flag. Signed-off-by: Stylon Wang <stylon.wang@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Acked-by: Anson Jacob <Anson.Jacob@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
The graphics card is a RX580.
Can you try the patch here: https://gitlab.freedesktop.org/drm/amd/-/issues/1620
That patch works.
Fix is in 5.14 and should land in stable shortly: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6be50f5d83adc9541de3d5be26e968182b5ac150