Looking at ATI resume, I pushed Mark to explore using DVACT_WAKEUP instead,
because the code looks super hairy and might sleep...

The same applies to Intel.

Since there are many more people who rely on such machines, can we get
some test reports of this on all machines, for suspend/resume and
hibernate?

Index: dev/pci/drm/i915/i915_drv.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/i915/i915_drv.c,v
retrieving revision 1.55
diff -u -p -u -r1.55 i915_drv.c
--- dev/pci/drm/i915/i915_drv.c 6 Dec 2013 11:17:20 -0000       1.55
+++ dev/pci/drm/i915/i915_drv.c 20 Jan 2014 09:36:07 -0000
@@ -1126,7 +1126,7 @@ inteldrm_activate(struct device *arg, in
                break;
        case DVACT_SUSPEND:
                break;
-       case DVACT_RESUME:
+       case DVACT_WAKEUP:
                i915_drm_thaw(dev);
                intel_fb_restore_mode(dev);
                break;

Reply via email to