summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-07-07 15:39:51 -0700
committerKeith Packard <keithp@keithp.com>2011-07-07 15:39:51 -0700
commit6fe5a7e3cac5b60774186a95bbb7555fa604080c (patch)
tree5ee9e7b5c553ce4c9dc1c0b7190f405e165787a7 /drivers/gpu/drm/i915/i915_drv.c
parentbc67f799e7667fb3c00286f2415c3cc44a253aec (diff)
parent1083694ab052e5ba38a8f9a057c4745448977837 (diff)
Merge branch 'drm-intel-fixes' into drm-intel-next
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c1
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 649278fc268b..ec4308d765c5 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 */