From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105018] Kernel panic when waking up after screen goes blank. Date: Wed, 27 Jun 2018 18:51:48 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1147898763==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CA786EAD4 for ; Wed, 27 Jun 2018 18:51:49 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1147898763== Content-Type: multipart/alternative; boundary="15301255091.4a9B5.22629" Content-Transfer-Encoding: 7bit --15301255091.4a9B5.22629 Date: Wed, 27 Jun 2018 18:51:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105018 Harry Wentland changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #36 from Harry Wentland --- The kernel BUG should be fixed since 4.17 by this commit commit 20d4ac659c76034586a3ab79489b0940631a65de Author: Leo (Sunpeng) Li 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 Reviewed-by: Harry Wentland Tested-by: Michel D=C3=A4nzer Signed-off-by: Alex Deucher I'll mark this as resolved but please reopen if it still reproduces. --=20 You are receiving this mail because: You are the assignee for the bug.= --15301255091.4a9B5.22629 Date: Wed, 27 Jun 2018 18:51:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Harry Wentland changed bug 10501= 8
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comme= nt # 36 on bug 10501= 8 from Harry Wentland
The kernel BUG should be fixed since 4.17 by this commit

commit 20d4ac659c76034586a3ab79489b0940631a65de
Author: Leo (Sunpeng) Li <sunp=
eng.li@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 func=
tions"
    Bugzilla: https://bugs.=
freedesktop.org/106194

    Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
    Reviewed-by: Harry Wentland <harry.wentland@amd.com>
    Tested-by: Michel D=C3=A4nzer <michel.daenzer@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@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.
= --15301255091.4a9B5.22629-- --===============1147898763== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1147898763==--