Re: inteldrm/radeondrm suspend/resume diff

2014-03-13 Thread Timo Myyrä
Mark Kettenis mark.kette...@xs4all.nl writes: The recent inteldrm suspend/resume regression thread pointed out that suspend/resume was quite horribly broken and only worked somewhat if you didn't heavily use the 3D acceleration stuff. Here's a diff that should fix most of the problems, by

Re: inteldrm/radeondrm suspend/resume diff

2014-03-13 Thread Mark Kettenis
Date: Wed, 12 Mar 2014 22:54:06 +0100 (CET) From: Mark Kettenis mark.kette...@xs4all.nl The recent inteldrm suspend/resume regression thread pointed out that suspend/resume was quite horribly broken and only worked somewhat if you didn't heavily use the 3D acceleration stuff. Here's a diff

Re: inteldrm/radeondrm suspend/resume diff

2014-03-13 Thread Gregor Best
On Thu, Mar 13, 2014 at 10:31:18AM +0100, Mark Kettenis wrote: [...] P.S. This seems to make hibernation (ZZZ) work with both inteldrm(4) and radeondrm(4) on my t400. Here's a slightly better diff that should eleminate a (largely theoretical) deadlock. If you didn't test yet, try this

Re: inteldrm/radeondrm suspend/resume diff

2014-03-13 Thread Gregor Best
On Thu, Mar 13, 2014 at 11:16:42AM +0100, Gregor Best wrote: [...] Couldn't test hibernate yet because my system has root on a softraid crypto device and the swap is outside the crypto area. [...] David gave me a hint on how to hardwire my kernel for swap on sd0b. With that, hibernate works

Re: inteldrm/radeondrm suspend/resume diff

2014-03-13 Thread Marc Peters
On 03/13/14 10:31, Mark Kettenis wrote: Date: Wed, 12 Mar 2014 22:54:06 +0100 (CET) From: Mark Kettenis mark.kette...@xs4all.nl The recent inteldrm suspend/resume regression thread pointed out that suspend/resume was quite horribly broken and only worked somewhat if you didn't heavily use

Re: inteldrm/radeondrm suspend/resume diff

2014-03-13 Thread David Coppa
On Thu, Mar 13, 2014 at 11:53 AM, Gregor Best g...@ring0.de wrote: On Thu, Mar 13, 2014 at 11:16:42AM +0100, Gregor Best wrote: [...] Couldn't test hibernate yet because my system has root on a softraid crypto device and the swap is outside the crypto area. [...] David gave me a hint on how

Re: inteldrm/radeondrm suspend/resume diff

2014-03-13 Thread Mattieu Baptiste
On Thu, Mar 13, 2014 at 12:23 PM, Marc Peters m...@mpeters.org wrote: On 03/13/14 10:31, Mark Kettenis wrote: Date: Wed, 12 Mar 2014 22:54:06 +0100 (CET) From: Mark Kettenis mark.kette...@xs4all.nl The recent inteldrm suspend/resume regression thread pointed out that suspend/resume was

Re: inteldrm/radeondrm suspend/resume diff

2014-03-13 Thread David Coppa
On Thu, Mar 13, 2014 at 12:31 PM, David Coppa dco...@gmail.com wrote: On Thu, Mar 13, 2014 at 11:53 AM, Gregor Best g...@ring0.de wrote: On Thu, Mar 13, 2014 at 11:16:42AM +0100, Gregor Best wrote: [...] Couldn't test hibernate yet because my system has root on a softraid crypto device and

inteldrm/radeondrm suspend/resume diff

2014-03-12 Thread Mark Kettenis
The recent inteldrm suspend/resume regression thread pointed out that suspend/resume was quite horribly broken and only worked somewhat if you didn't heavily use the 3D acceleration stuff. Here's a diff that should fix most of the problems, by making sure userland programs are properly blocked if