@Erno Kuusela -- I can confirm that the change suggested by your collegue does seem to fix the main resume issue without disabling the second CPU. At least that is what my testing seems to show on a Dell Studio 15 (1537).
I pulled the commit below back to the Intrepid kernel and I could suspend and resume without the workaround script. I should note that I have also confirmed that I get a hang always on the second resume with events/1, though it should be noted I am getting some kind of hand always on the second resume (with or without the patch):
commit 881ee9889c8b98671c5491e43666bf5d4f78a180
Author: Keith Packard <email address hidden>
Date: Sun Nov 2 23:08:44 2008 -0800
i915: Save/restore MCHBAR_RENDER_STANDBY on GM965/GM45
This register is set by the 2D driver to prevent lockups, and so it needs to
be preserved across suspend/resume too. This makes my X200s work.
Signed-off-by: Keith Packard <email address hidden>
Signed-off-by: Eric Anholt <email address hidden>
Signed-off-by: Dave Airlie <email address hidden>
@Erno Kuusela -- I can confirm that the change suggested by your collegue does seem to fix the main resume issue without disabling the second CPU. At least that is what my testing seems to show on a Dell Studio 15 (1537).
I pulled the commit below back to the Intrepid kernel and I could suspend and resume without the workaround script. I should note that I have also confirmed that I get a hang always on the second resume with events/1, though it should be noted I am getting some kind of hand always on the second resume (with or without the patch):
commit 881ee9889c8b986 71c5491e43666bf 5d4f78a180
Author: Keith Packard <email address hidden>
Date: Sun Nov 2 23:08:44 2008 -0800
i915: Save/restore MCHBAR_ RENDER_ STANDBY on GM965/GM45
This register is set by the 2D driver to prevent lockups, and so it needs to
be preserved across suspend/resume too. This makes my X200s work.
Signed-off-by: Keith Packard <email address hidden>
Signed-off-by: Eric Anholt <email address hidden>
Signed-off-by: Dave Airlie <email address hidden>