diff options
author | 2011-05-30 22:33:28 +0000 | |
---|---|---|
committer | 2011-05-30 22:33:28 +0000 | |
commit | d2a01382350d9155517d82a9a401a22cd0dbe57f (patch) | |
tree | 8ccf4fa4c043d5044dcb07e9fc80422241fc0982 | |
parent | Remove the freelist member from vm_physseg (diff) | |
download | wireguard-openbsd-d2a01382350d9155517d82a9a401a22cd0dbe57f.tar.xz wireguard-openbsd-d2a01382350d9155517d82a9a401a22cd0dbe57f.zip |
Force full resets always for now.
While it would be best if we never needed to reset the gpu people hate
losing their X sessions. Sometimes on gm45 it seems that the render
engine reset doesn't work properly, so force a full chip reset in those
cases not just the cases that require it.
-rw-r--r-- | sys/dev/pci/drm/i915_drv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_drv.c b/sys/dev/pci/drm/i915_drv.c index aa285899913..cdbc99a0b91 100644 --- a/sys/dev/pci/drm/i915_drv.c +++ b/sys/dev/pci/drm/i915_drv.c @@ -5910,6 +5910,12 @@ inteldrm_965_reset(struct inteldrm_softc *dev_priv, u_int8_t flags) pcireg_t reg; int i = 0; + /* + * There seems to be soemthing wrong with !full reset modes, so force + * the whole shebang for now. + */ + flags = GDRST_FULL; + if (flags == GDRST_FULL) inteldrm_save_display(dev_priv); |