From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 98513] [REGRESSION][4.9-rc3 w/ drm-next-4.10-wip][AMDGPU][CIK] Unable to suspend, hangs on hibernation Date: Tue, 08 Nov 2016 23:57:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2048867537==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E84736E5F4 for ; Tue, 8 Nov 2016 23:57:37 +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 --===============2048867537== Content-Type: multipart/alternative; boundary="14786494571.fbF4.7943"; charset="UTF-8" --14786494571.fbF4.7943 Date: Tue, 8 Nov 2016 23:57:37 +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=3D98513 --- Comment #2 from Shawn Starr --- Bisected results confirmed: [spstarr@segfault linux]$ git bisect bad 86f8c599b09c916f9aad30563271440dbd79213a is the first bad commit commit 86f8c599b09c916f9aad30563271440dbd79213a Author: Rex Zhu Date: Mon Oct 3 20:46:36 2016 +0800 drm/amdgpu: when suspend, set boot state instand of disable dpm. fix pm-hibernate bug, when suspend/resume, dpm start failed. Signed-off-by: Rex Zhu Acked-by: Christian K=C3=B6nig Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher :040000 040000 5537c5937b203abdb5c48c5a0dc8dc5f6a3d00f2 7f048011c861d8c35b922fd94f089cd07d670f60 M drivers [spstarr@segfault linux]$ git bisect log git bisect start # good: [1001354ca34179f3db924eb66672442a173147dc] Linux 4.9-rc1 git bisect good 1001354ca34179f3db924eb66672442a173147dc # bad: [2f5945e707b5dffbf12444ad8bea079626ad30ec] drm/amdgpu: add the inter= face of waiting multiple fences (v4) git bisect bad 2f5945e707b5dffbf12444ad8bea079626ad30ec # good: [61d0a04d6f5b2122f88aacbc4b1716e571961660] Merge tag 'topic/drm-misc-2016-10-24' of git://anongit.freedesktop.org/drm-intel into drm-next git bisect good 61d0a04d6f5b2122f88aacbc4b1716e571961660 # good: [e4ab73a13291fc844c9e24d5c347bd95818544d2] drm/i915: Respect alternate_ddc_pin for all DDI ports git bisect good e4ab73a13291fc844c9e24d5c347bd95818544d2 # bad: [415282b15e15c2d7fb18e29c5b554cc7f4ff5c52] drm/amdgpu: disable dpm before turn off clock when vce idle. git bisect bad 415282b15e15c2d7fb18e29c5b554cc7f4ff5c52 # good: [392f0c775c80de0eae4c07227cc220015df70abc] drm/amdgpu/gfx8: cache rb config values git bisect good 392f0c775c80de0eae4c07227cc220015df70abc # good: [472259f02657ef99cba2a64832ccadad8e3baabe] drm/amd/amdgpu: re-factor debugfs wave reader git bisect good 472259f02657ef99cba2a64832ccadad8e3baabe # good: [f1e68a7cf582b41d6da1dd15b9f0bfb9057c1164] drm/amdgpu/atom: remove a bunch of unused functions git bisect good f1e68a7cf582b41d6da1dd15b9f0bfb9057c1164 # good: [585ffd65441a4aea7e762d17f7a248d07cd1c9ac] drm/ttm: fix coding styl= e in ttm_bo_driver.h git bisect good 585ffd65441a4aea7e762d17f7a248d07cd1c9ac # good: [8ed8147abc7cf1f689245deb316aabfe2f657ade] drm/amdgpu: use failed l= abel to handle context init failure git bisect good 8ed8147abc7cf1f689245deb316aabfe2f657ade # bad: [3f767e3d076dd2a24a614917c8f0b05d8d82b90b] drm/amdgpu: just not load= smc firmware if smu is already running git bisect bad 3f767e3d076dd2a24a614917c8f0b05d8d82b90b # bad: [86f8c599b09c916f9aad30563271440dbd79213a] drm/amdgpu: when suspend,= set boot state instand of disable dpm. git bisect bad 86f8c599b09c916f9aad30563271440dbd79213a # first bad commit: [86f8c599b09c916f9aad30563271440dbd79213a] drm/amdgpu: = when suspend, set boot state instand of disable dpm. --=20 You are receiving this mail because: You are the assignee for the bug.= --14786494571.fbF4.7943 Date: Tue, 8 Nov 2016 23:57:37 +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

Comment= # 2 on bug 98513<= /a> from Shawn Starr
Bisected results confirmed:

[spstarr@segfault linux]$ git bisect bad
86f8c599b09c916f9aad30563271440dbd79213a is the first bad commit
commit 86f8c599b09c916f9aad30563271440dbd79213a
Author: Rex Zhu <Rex.Zhu@amd.=
com>
Date:   Mon Oct 3 20:46:36 2016 +0800

    drm/amdgpu: when suspend, set boot state instand of disable dpm.

    fix pm-hibernate bug, when suspend/resume, dpm start failed.

    Signed-off-by: Rex Zhu <Rex.Z=
hu@amd.com>
    Acked-by: Christian K=C3=B6nig <christian.koenig@amd.com>
    Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

:040000 040000 5537c5937b203abdb5c48c5a0dc8dc5f6a3d00f2
7f048011c861d8c35b922fd94f089cd07d670f60 M      drivers
[spstarr@segfault linux]$ git bisect log
git bisect start
# good: [1001354ca34179f3db924eb66672442a173147dc] Linux 4.9-rc1
git bisect good 1001354ca34179f3db924eb66672442a173147dc
# bad: [2f5945e707b5dffbf12444ad8bea079626ad30ec] drm/amdgpu: add the inter=
face
of waiting multiple fences (v4)
git bisect bad 2f5945e707b5dffbf12444ad8bea079626ad30ec
# good: [61d0a04d6f5b2122f88aacbc4b1716e571961660] Merge tag
'topic/drm-misc-2016-10-24' of git://anongit.freedesktop.org/drm-intel into
drm-next
git bisect good 61d0a04d6f5b2122f88aacbc4b1716e571961660
# good: [e4ab73a13291fc844c9e24d5c347bd95818544d2] drm/i915: Respect
alternate_ddc_pin for all DDI ports
git bisect good e4ab73a13291fc844c9e24d5c347bd95818544d2
# bad: [415282b15e15c2d7fb18e29c5b554cc7f4ff5c52] drm/amdgpu: disable dpm
before turn off clock when vce idle.
git bisect bad 415282b15e15c2d7fb18e29c5b554cc7f4ff5c52
# good: [392f0c775c80de0eae4c07227cc220015df70abc] drm/amdgpu/gfx8: cache rb
config values
git bisect good 392f0c775c80de0eae4c07227cc220015df70abc
# good: [472259f02657ef99cba2a64832ccadad8e3baabe] drm/amd/amdgpu: re-factor
debugfs wave reader
git bisect good 472259f02657ef99cba2a64832ccadad8e3baabe
# good: [f1e68a7cf582b41d6da1dd15b9f0bfb9057c1164] drm/amdgpu/atom: remove a
bunch of unused functions
git bisect good f1e68a7cf582b41d6da1dd15b9f0bfb9057c1164
# good: [585ffd65441a4aea7e762d17f7a248d07cd1c9ac] drm/ttm: fix coding styl=
e in
ttm_bo_driver.h
git bisect good 585ffd65441a4aea7e762d17f7a248d07cd1c9ac
# good: [8ed8147abc7cf1f689245deb316aabfe2f657ade] drm/amdgpu: use failed l=
abel
to handle context init failure
git bisect good 8ed8147abc7cf1f689245deb316aabfe2f657ade
# bad: [3f767e3d076dd2a24a614917c8f0b05d8d82b90b] drm/amdgpu: just not load=
 smc
firmware if smu is already running
git bisect bad 3f767e3d076dd2a24a614917c8f0b05d8d82b90b
# bad: [86f8c599b09c916f9aad30563271440dbd79213a] drm/amdgpu: when suspend,=
 set
boot state instand of disable dpm.
git bisect bad 86f8c599b09c916f9aad30563271440dbd79213a
# first bad commit: [86f8c599b09c916f9aad30563271440dbd79213a] drm/amdgpu: =
when
suspend, set boot state instand of disable dpm.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14786494571.fbF4.7943-- --===============2048867537== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2048867537==--