[Bug 105018] Kernel panic when waking up after screen goes blank.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 27 18:51:48 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105018

Harry Wentland <harry.wentland at amd.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #36 from Harry Wentland <harry.wentland at amd.com> ---
The kernel BUG should be fixed since 4.17 by this commit

commit 20d4ac659c76034586a3ab79489b0940631a65de
Author: Leo (Sunpeng) Li <sunpeng.li at amd.com>
Date:   Tue May 29 09:51:51 2018 -0400

    drm/amd/display: Fix BUG_ON during CRTC atomic check update

    For cases where the CRTC is inactive (DPMS off), where a modeset is not
    required, yet the CRTC is still in the atomic state, we should not
    attempt to update anything on it.

    Previously, we were relying on the modereset_required() helper to check
    the above condition. However, the function returns false immediately if
    a modeset is not required, ignoring the CRTC's enable/active state
    flags. The correct way to filter is by looking at these flags instead.

    Fixes: e277adc5a06c "drm/amd/display: Hookup color management functions"
    Bugzilla: https://bugs.freedesktop.org/106194

    Signed-off-by: Leo (Sunpeng) Li <sunpeng.li at amd.com>
    Reviewed-by: Harry Wentland <harry.wentland at amd.com>
    Tested-by: Michel Dänzer <michel.daenzer at amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>


I'll mark this as resolved but please reopen if it still reproduces.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180627/c1e56455/attachment.html>


More information about the dri-devel mailing list