diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2011-07-08 00:33:26 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-07-08 00:39:28 +0200 |
commit | 1083694ab052e5ba38a8f9a057c4745448977837 (patch) | |
tree | 09d7da8458444a1cc8870f2aeaf7db4c2e339b93 | |
parent | drm/i915/dp: manage sink power state if possible (diff) | |
download | linux-1083694ab052e5ba38a8f9a057c4745448977837.tar.xz linux-1083694ab052e5ba38a8f9a057c4745448977837.zip |
drm/i915: Enable GPU reset on Ivybridge.
According to the hardware documentation, GDRST is exactly the same as on
Sandybridge. So simply enable the existing code.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 013d304455b9..58222e86e291 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -577,6 +577,7 @@ int i915_reset(struct drm_device *dev, u8 flags) if (get_seconds() - dev_priv->last_gpu_reset < 5) { DRM_ERROR("GPU hanging too fast, declaring wedged!\n"); } else switch (INTEL_INFO(dev)->gen) { + case 7: case 6: ret = gen6_do_reset(dev, flags); /* If reset with a user forcewake, try to restore */ |