summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2013-03-15 19:49:37 +1100
committerJonathan Gray <jsg@jsg.id.au>2013-03-15 19:49:37 +1100
commit8a6ec196c2a7e5169f277e9f277859822be78c2b (patch)
tree08877c5b922a4cda42f252a0ab27245d5f432245
parentbc60e211dccec39486102c311edf52434b26b53e (diff)
enable the call to intel_disable_gt_powersave()
-rw-r--r--sys/dev/pci/drm/i915/i915_suspend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/i915/i915_suspend.c b/sys/dev/pci/drm/i915/i915_suspend.c
index 11fcf7bc63b..6f63cf20230 100644
--- a/sys/dev/pci/drm/i915/i915_suspend.c
+++ b/sys/dev/pci/drm/i915/i915_suspend.c
@@ -28,7 +28,8 @@
#include <dev/pci/drm/drmP.h>
#include <dev/pci/drm/drm.h>
#include <dev/pci/drm/i915_drm.h>
-#include "i915_drv.h"
+#include "intel_drv.h"
+#include "i915_reg.h"
bool i915_pipe_enabled(struct drm_device *, enum pipe);
void i915_save_palette(struct drm_device *, enum pipe);
@@ -866,9 +867,7 @@ i915_save_state(struct drm_device *dev)
}
}
-#ifdef notyet
intel_disable_gt_powersave(dev);
-#endif
/* Cache mode state */
dev_priv->regfile.saveCACHE_MODE_0 = I915_READ(CACHE_MODE_0);