diff mbox

[resend] drm/i915: Enable GPU reset on Ivybridge.

Message ID 1310078006-3632-1-git-send-email-kenneth@whitecape.org (mailing list archive)
State New, archived
Headers show

Commit Message

Kenneth Graunke July 7, 2011, 10:33 p.m. UTC
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>
---
 drivers/gpu/drm/i915/i915_drv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

(Somehow this got lost; resending.  It still applies cleanly to -next.)

Comments

Keith Packard July 7, 2011, 10:46 p.m. UTC | #1
On Thu,  7 Jul 2011 15:33:26 -0700, Kenneth Graunke <kenneth@whitecape.org> wrote:

> (Somehow this got lost; resending.  It still applies cleanly to
> -next.)

Thanks for resending; I don't know how this got dropped; clearly too
small a patch :-)
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 649278f..ec4308d 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -580,6 +580,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 */