[Intel-gfx] [PATCH] drm/i915: Reload hangcheck timer too for Ironlake

Eric Anholt eric at anholt.net
Thu Dec 17 20:20:10 CET 2009


On Thu, 17 Dec 2009 16:12:56 +0800, Zhenyu Wang <zhenyuw at linux.intel.com> wrote:
> Make sure hangcheck timer won't beat us unexpectedly on Ironlake.
> 
> Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> ---
>  drivers/gpu/drm/i915/i915_irq.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
> index 1733eea..7cd8110 100644
> --- a/drivers/gpu/drm/i915/i915_irq.c
> +++ b/drivers/gpu/drm/i915/i915_irq.c
> @@ -313,6 +313,8 @@ irqreturn_t ironlake_irq_handler(struct drm_device *dev)
>  			dev_priv->mm.irq_gem_seqno = seqno;
>  			trace_i915_gem_request_complete(dev, seqno);
>  			DRM_WAKEUP(&dev_priv->irq_queue);
> +			dev_priv->hangcheck_count = 0;
> +			mod_timer(&dev_priv->hangcheck_timer, jiffies + DRM_I915_HANGCHECK_PERIOD);
>  		}

Nice.  Applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20091217/fb08e314/attachment.pgp>


More information about the Intel-gfx mailing list