Bug 79988

Summary: [NVC1] Suspend to ram doesn't work since Linux 3.15
Product: xorg Reporter: Marc Collin <marccollin7379>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.6 (2010.12)   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
/var/log/messages none

Description Marc Collin 2014-06-13 15:16:36 UTC
Created attachment 100983 [details]
/var/log/messages

I use suse 13.1
xorg 7.6.1
mesa 10.2.1

Since kernel 3.15, suspend to ram don't work.

I seem to suspend and come back directly

I get this messages

nouveau  [     DRM] suspending display...
nouveau  [     DRM] unpinning framebuffer(s)...
nouveau  [     DRM] evicting buffers...
nouveau  [     DRM] waiting for kernel channels to go idle...
nouveau  [     DRM] suspending client object trees...
nouveau  [     DRM] suspending kernel object tree...
nouveau E[   PDISP][0000:01:00.0][0xc000857c][ffff880445675dc0] fini timeout, 0xc2061008
nouveau E[   PDISP][0000:01:00.0][0xc000857c][ffff880445675dc0] failed suspend, -16
nouveau E[     DRM] 0xd1500000:0xd15c7c00 suspend failed with -16
nouveau E[     DRM] 0xdddddddd:0xd1500000 suspend failed with -16
nouveau E[     DRM] 0xffffffff:0xdddddddd suspend failed with -16
nouveau E[     DRM] 0xffffffff:0xffffffff suspend failed with -16
nouveau  [     DRM] resuming display...
pci_pm_suspend(): nouveau_pmops_suspend+0x0/0xb0 [nouveau] returns -16
dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -16
PM: Device 0000:01:00.0 failed to suspend async: error -16
PM: Some devices failed to suspend, or early wake event detected
Comment 1 Ilia Mirkin 2014-06-17 18:42:59 UTC
Bisect would be great. There were a ton of PDISP changes that went in, but they were largely no-ops (things to make debugging easier, etc).
Comment 2 Marc Collin 2014-06-21 01:07:38 UTC
i updated to 3.15.1 and i suspend to ram work again.
Comment 3 Ilia Mirkin 2014-06-21 01:51:46 UTC
(In reply to comment #2)
> i updated to 3.15.1 and i suspend to ram work again.

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?id=refs/tags/v3.15.1

Seems unlikely that one of those commits would have fixed anything vs 3.15... issue is probably still there, just doesn't repro 100% of the time.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.