Skip to contentSkip to conversation

Unable to suspend, hangs on hibernation

Bug 98513 [email protected] 1 participant 12 messages Oct 31, 2016 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 98513
           Summary: [4.9-rc3 w/ drm-next-4.10-wip][AMDGPU][CIK] Unable to
                    suspend, hangs on hibernation
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: [email protected]
          Reporter: [email protected]

Something regressed for CIK on AMDGPU, I am unable to hibernate anymore, hangs laptop when it attempts to freeze().

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

Shawn Starr <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[4.9-rc3 w/                 |[REGRESSION][4.9-rc3 w/
                   |drm-next-4.10-wip][AMDGPU][ |drm-next-4.10-wip][AMDGPU][
                   |CIK] Unable to suspend,     |CIK] Unable to suspend,
                   |hangs on hibernation        |hangs on hibernation
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Acked-by Christian König Reviewed-by Alex Deucher
#3 lore raw
In reply to [email protected]

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

--- Comment #2 from Shawn Starr <[email protected]> --- Bisected results confirmed:

[spstarr@segfault linux]$ git bisect bad 86f8c599b09c916f9aad30563271440dbd79213a is the first bad commit commit 86f8c599b09c916f9aad30563271440dbd79213a

Author: Rex Zhu <[email protected]>
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.

: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 interface 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 style in ttm_bo_driver.h
git bisect good 585ffd65441a4aea7e762d17f7a248d07cd1c9ac
# good: [8ed8147abc7cf1f689245deb316aabfe2f657ade] drm/amdgpu: use failed label 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.
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 98513] [REGRESSION][drm-next-4.10-wip][AMDGPU][CIK] Unable to suspend, hangs on hibernation bad commit 86f8c599b09c916f9aad30563271440dbd79213a

In reply to [email protected]

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

Shawn Starr <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[REGRESSION][4.9-rc3 w/     |[REGRESSION][drm-next-4.10-
                   |drm-next-4.10-wip][AMDGPU][ |wip][AMDGPU][CIK] Unable to
                   |CIK] Unable to suspend,     |suspend, hangs on
                   |hangs on hibernation        |hibernation bad commit
                   |                            |86f8c599b09c916f9aad3056327
                   |                            |1440dbd79213a
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 98513] [REGRESSION][drm-next-4.10-wip][AMDGPU][CIK] Unable to suspend, hangs on hibernation bad commit 86f8c599b09c916f9aad30563271440dbd79213a

In reply to [email protected]

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

--- Comment #3 from Shawn Starr <[email protected]> ---
Is this code path checking Disk hibernation aka freeze() / raw()? If this this just spend to RAM, then this might explain why this fails for me.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 98513] [REGRESSION][drm-next-4.10-wip][AMDGPU][CIK] Unable to suspend, hangs on hibernation bad commit 86f8c599b09c916f9aad30563271440dbd79213a

In reply to [email protected]

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

--- Comment #4 from Shawn Starr <[email protected]> ---
As noted on IRC 4.10-rc2 w/ drm-next-4.10-wip and 4.10-rc3 w/ drm-next-4.11-wip do not require this commit to be reverted.

Hibernate (freeze), Resume (thaw) seem to work fine here, keeping ticket open for further testing.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 98513] [REGRESSION][drm-next-4.10-wip][AMDGPU][CIK] Unable to suspend, hangs on hibernation bad commit 86f8c599b09c916f9aad30563271440dbd79213a

In reply to [email protected]

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

--- Comment #5 from Shawn Starr <[email protected]> ---
This broke in either Linus rc4 or drm-next-4.11-wip changes, will bisect this week

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

[Bug 98513] [AMDGPU][CIK] Unable to hibernation not stable

In reply to [email protected]

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

Shawn Starr <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[REGRESSION][drm-next-4.10- |[AMDGPU][CIK] Unable to
                   |wip][AMDGPU][CIK] Unable to |hibernation not stable
                   |suspend, hangs on           |
                   |hibernation bad commit      |
                   |86f8c599b09c916f9aad3056327 |
                   |1440dbd79213a               |
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 98513] [AMDGPU][CIK] Unable to hibernate functionality is not stable

In reply to [email protected]

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

Shawn Starr <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[AMDGPU][CIK] Unable to     |[AMDGPU][CIK] Unable to
                   |hibernation not stable      |hibernate functionality is
                   |                            |not stable
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 98513] [AMDGPU][CIK] Unable to hibernate functionality is not stable

In reply to [email protected]

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

--- Comment #6 from Shawn Starr <[email protected]> ---
This currently works in 4.12.0-rc7+ w/ drm-next-4.13-wip, will try latest and close if works.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

[Bug 98513] [AMDGPU][CIK] Unable to hibernate functionality is not stable

In reply to [email protected]

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

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #7 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/114.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel