diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-13 05:09:14 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-19 04:17:11 -0400 |
commit | e60a0b107b3df072e23cb6d68510aa2615b059ce (patch) | |
tree | 2cb350c6d8bd2a67bcb32b26e6d74808a86d042e /drivers/clocksource/acpi_pm.c | |
parent | 7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9 (diff) |
drm/i915: Sleep whilst waiting for the ring
If userspace is submitting so many long running batches that the ring
becomes full, throttle by sleeping for a 1ms before checking for free
space. Simply yielding was causing excessive scheduler overhead whilst
making no progress.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/clocksource/acpi_pm.c')
0 files changed, 0 insertions, 0 deletions