Bug 213779

Summary: Screen stays blank on resume from hibernate
Product: Drivers Reporter: alex14641
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: high CC: alexdeucher
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.13 Subsystem:
Regression: Yes Bisected commit-id:

Description alex14641 2021-07-18 23:18:34 UTC
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
    ASSR enabling only considers capability declared in DPCD.
    We also need to check whether the connector is internal.
    ASSR enabling need to check both DPCD capability and internal display
    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>
Comment 1 alex14641 2021-07-18 23:20:03 UTC
The graphics card is a RX580.
Comment 2 Alex Deucher 2021-07-19 14:53:43 UTC
Can you try the patch here:
Comment 3 alex14641 2021-07-20 12:27:31 UTC
That patch works.
Comment 4 Alex Deucher 2021-07-28 04:49:50 UTC
Fix is in 5.14 and should land in stable shortly: