https://bugs.freedesktop.org/show_bug.cgi?id=97123
Bug ID: 97123 Summary: [AMDGPU][CIK] Suspend to disk deadlocks system on resume always (Linus master + drm-next-4.9-wip) Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: shawn.starr@rogers.com
I've been testing AMDGPU with CIK (Bonaire), in drm-next-4.8-wip / drm-next-4.8, hibernation sometime worked sometime not.
With drm-next-4.9-wip (with Linus master merged), hibernation works, resume fails after image is loaded, system is deadlocked.
Is there any debugging I can do testing path?
https://bugs.freedesktop.org/show_bug.cgi?id=97123
--- Comment #1 from Shawn Starr shawn.starr@rogers.com --- Created attachment 125989 --> https://bugs.freedesktop.org/attachment.cgi?id=125989&action=edit corruption seen during freeze() in hibernation
https://bugs.freedesktop.org/show_bug.cgi?id=97123
--- Comment #2 from Shawn Starr shawn.starr@rogers.com --- With latest patches: [PATCH 3/3] drm/amdgpu: reset the asic when hibernating v2
I am not noticing deadlock on resume, still continue to test.
When hibernating the first time, no corruption occurs on freeze state of display, subsequent hibernations show same corruption pattern on freeze.
When resuming no such corruption shows once the GPU finishes init and we resume successfully.
https://bugs.freedesktop.org/show_bug.cgi?id=97123
--- Comment #3 from Shawn Starr shawn.starr@rogers.com --- [PATCH 2/3] drm/amd/amdgpu: sdma resume fail during S4 on CI [PATCH 3/3] drm/amd/amdgpu: compute ring test fail during S4 on CI
With patch #2 specifically not upstream yet, the corruption with the image attached is now gone on subsequent freeze()/thaw() cycles.
https://bugs.freedesktop.org/show_bug.cgi?id=97123
--- Comment #4 from Shawn Starr shawn.starr@rogers.com --- Still had a lockup during a freeze() --> Reboot cycle
Will try patch: [PATCH v2] drm/amd/amdgpu: S4 issue for amdgpu
https://bugs.freedesktop.org/show_bug.cgi?id=97123
--- Comment #5 from Shawn Starr shawn.starr@rogers.com --- [PATCH v2] drm/amd/amdgpu: S4 issue for amdgpu - Works
Still have corruption on freeze() but its non-fatal for thaw() on resume from reboot hibernation.
Will Continue to test additional patches, no lockups so far.
https://bugs.freedesktop.org/show_bug.cgi?id=97123
Shawn Starr shawn.starr@rogers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Shawn Starr shawn.starr@rogers.com --- The original issue is fixed, but a new regression so new bug being filed.
dri-devel@lists.freedesktop.org