[intel-gem] throttle based on frames rather than time. Reduces jitter.
authorKeith Packard <keithp@keithp.com>
Fri, 13 Jun 2008 19:06:13 +0000 (12:06 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 13 Jun 2008 21:29:46 +0000 (14:29 -0700)
commitced9ebf64543b4d64a38feee3293040af953acc0
treecb4027ab95b482f6d8840eedf6c5559cb5578143
parent6b2cba1ecc5f9f289b5d91e229b7f7b0999bee5b
[intel-gem] throttle based on frames rather than time. Reduces jitter.

Record the last execbuffer sequence for each client.
Record that sequence in the throttle ioctl as the 'throttle sequence'.
Wait for the last throttle sequence in the throttle ioctl.
linux-core/i915_drv.c
linux-core/i915_gem.c
shared-core/i915_dma.c
shared-core/i915_drv.h