Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/i915: cancel the hangcheck before runtime suspend
@ 2013-12-13 17:22 Paulo Zanoni
  2013-12-13 17:22 ` [PATCH 2/3] drm/i915: release the GTT mmaps when going into D3 Paulo Zanoni
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paulo Zanoni @ 2013-12-13 17:22 UTC (permalink / raw)
  To: intel-gfx; +Cc: Paulo Zanoni

From: Paulo Zanoni <paulo.r.zanoni@intel.com>

The hangcheck function requires the hardware to be working, and if
we're suspending we're going to put the HW in D3 state.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index e7a6c84..70590b0 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -920,6 +920,7 @@ static int i915_runtime_suspend(struct device *device)
 
 	DRM_DEBUG_KMS("Suspending device\n");
 
+	del_timer_sync(&dev_priv->gpu_error.hangcheck_timer);
 	dev_priv->pm.suspended = true;
 	intel_opregion_notify_adapter(dev, PCI_D3cold);
 
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-12-14 14:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-13 17:22 [PATCH 1/3] drm/i915: cancel the hangcheck before runtime suspend Paulo Zanoni
2013-12-13 17:22 ` [PATCH 2/3] drm/i915: release the GTT mmaps when going into D3 Paulo Zanoni
2013-12-13 18:22   ` Rodrigo Vivi
2013-12-14 14:36     ` Daniel Vetter
2013-12-13 17:22 ` [PATCH 3/3] drm/i915: add runtime PM support on Haswell Paulo Zanoni
2013-12-13 18:23   ` Rodrigo Vivi
2013-12-13 18:08 ` [PATCH 1/3] drm/i915: cancel the hangcheck before runtime suspend Rodrigo Vivi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox