drm/i915: Re-arm the idle timers if the device is still busy
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Dec 2010 09:43:41 +0000 (09:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 9 Dec 2010 19:13:52 +0000 (19:13 +0000)
commitff7ea4c04012e01a9a50c5e42dabdaf0794734ce
tree8eeabf1ed17dafbccdb6e8525d0ca06a40cd0b57
parentc57802706aad9f179f2219415717896b3c177845
drm/i915: Re-arm the idle timers if the device is still busy

Don't post a downclocking task if the device is still active when the
idle timer fires. A pathological process could queue up several seconds
worth of processing and then go to sleep, during which time the idle
timer would kick in and downclock the GPU.

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