Created attachment 335258 [details]
Fix i915 nomodeset NULL deref. during PM resume
Patch from  lacks check for modesetting being enabled, which causes my machine to hang during suspend (why is the resume code path executed during suspend is beyond my understanding).
Attaching a patch that fixed the problem for me.
applied to cvs