]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/i915/i915_drv.h
drm/i915: Reduce hangcheck frequency
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Sep 2010 22:44:34 +0000 (23:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Sep 2010 09:30:10 +0000 (10:30 +0100)
commitb3b079dbef06c7f775178d561a4c8e47b7447139
tree90b76ae31d7330d79ce98e1cea98d4a198e4c47c
parente2e767abd85806d05a5266b3b112baaf80ee3382
drm/i915: Reduce hangcheck frequency

By reducing the hangcheck frequency we check less often, conserving
resources, and still detect a lock up quickly. On a fast machine with a
slow GPU (like a Core2 paired with a 945G) it is easy for the hangcheck to
misfire as we check too fast.

Also once hung and if we fail to completely reset the chip, we have a
nasty habit of proclaming a hang many times a second and generating a
strobe-like display.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_irq.c