diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-01-22 04:50:58 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-01-22 04:50:58 +0000 |
commit | 25d444466a2b1951f2441ec786d421753acf3aed (patch) | |
tree | e234cf78d0fb9a3a174d0a09f07cad93bf056318 /sys/dev/pci/drm | |
parent | 6a7f9db3103ad027bb2d4d5c5b39a6175650de78 (diff) |
bring inteldrm back up after resume using DVACT_WAKEUP (non-cold, able
to tsleep, etc) rather than DVACT_RESUME (cold, interrupts disabled,
super restrictive)
tested by jcs and myself, investigated with kettenis
Diffstat (limited to 'sys/dev/pci/drm')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/i915_drv.c b/sys/dev/pci/drm/i915/i915_drv.c index c1185bf6d48..d5dced59ac3 100644 --- a/sys/dev/pci/drm/i915/i915_drv.c +++ b/sys/dev/pci/drm/i915/i915_drv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_drv.c,v 1.55 2013/12/06 11:17:20 kettenis Exp $ */ +/* $OpenBSD: i915_drv.c,v 1.56 2014/01/22 04:50:57 deraadt Exp $ */ /* * Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org> * @@ -1126,7 +1126,7 @@ inteldrm_activate(struct device *arg, int act) break; case DVACT_SUSPEND: break; - case DVACT_RESUME: + case DVACT_WAKEUP: i915_drm_thaw(dev); intel_fb_restore_mode(dev); break; |