* [PATCH resend] drm/i915: Enable GPU reset on Ivybridge.
@ 2011-07-07 22:33 Kenneth Graunke
2011-07-07 22:46 ` Keith Packard
0 siblings, 1 reply; 2+ messages in thread
From: Kenneth Graunke @ 2011-07-07 22:33 UTC (permalink / raw)
To: intel-gfx
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.)
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 */
--
1.7.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH resend] drm/i915: Enable GPU reset on Ivybridge.
2011-07-07 22:33 [PATCH resend] drm/i915: Enable GPU reset on Ivybridge Kenneth Graunke
@ 2011-07-07 22:46 ` Keith Packard
0 siblings, 0 replies; 2+ messages in thread
From: Keith Packard @ 2011-07-07 22:46 UTC (permalink / raw)
To: Kenneth Graunke, intel-gfx
[-- Attachment #1.1: Type: text/plain, Size: 287 bytes --]
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 :-)
--
keith.packard@intel.com
[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-07 22:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 22:33 [PATCH resend] drm/i915: Enable GPU reset on Ivybridge Kenneth Graunke
2011-07-07 22:46 ` Keith Packard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.