Skip to contentSkip to conversation

Tonga does not recover from standby

Bug 93615 [email protected] 1 participant 5 messages Jan 6, 2016 – Feb 4, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 93615
Summary: Tonga does not recover from standby
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: blocker
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Standby worked flawlessly on my BARTS (radeon/r600). With the TONGA (amdgpu/radeonsi) the system is not able to recover after the standby. Seems like a hard-lockup.

I put my system into standby by doing:
echo mem > /sys/power/state

I tried both kernel 4.4-rc7 and the 4.5-drm-next branch.

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

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

#1 lore raw

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

--- Comment #1 from Alex Deucher <[email protected]> --- Does it work any better with the latest code in:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.5-wip

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

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

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from EoD <[email protected]> ---
(In reply to Alex Deucher from comment #1)

Quoted 2 lines

Does it work any better with the latest code in:
http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.5-wip

Yes, there are improvements:

When I go into standby in a virtual terminal it can recover, but still writing the following error to dmesg:

kernel: PM: resume of devices complete after 6591.636 msecs
kernel: Restarting tasks ... done.
kernel: amdgpu 0000:01:00.0: GPU fault detected: 147 0x0f080008
kernel: amdgpu 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR 0x001001E1
kernel: amdgpu 0000:01:00.0: VM_CONTEXT1_PROTECTION_FAULT_STATUS 0x02000008
kernel: VM fault (0x08, vmid 1) at page 1049057, read from 'TC2' (0x54433200)
(0)

When I switch back to X11 the system locks up, but unlike before I still can execute SysRq.

This is a major improvement to the drm-next-4.5 branch!

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

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

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from EoD <[email protected]> ---
I tried standby again by accident and it seems to work just fine now.

I am using drm-next on commit d8e0cae645504a787b05abfb91afee8cd7fa1701, kernel 4.4.0-rc6-gd8e0cae.

Did my change some stuff on my bios by accident (IOMMU?) or did you fix it in the recent kernel?

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

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

#4 lore raw
In reply to [email protected]

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

EoD <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from EoD <[email protected]> ---
This has been fixed in kernel 4.5-rc2.

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

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