Bug 213779 - Screen stays blank on resume from hibernate
Summary: Screen stays blank on resume from hibernate
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-18 23:18 UTC by alex14641
Modified: 2021-07-28 04:49 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.13
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments

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
    
    [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>
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:
https://gitlab.freedesktop.org/drm/amd/-/issues/1620
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:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6be50f5d83adc9541de3d5be26e968182b5ac150

Note You need to log in before you can comment on or make changes to this bug.