diff options
author | Chris Wilson <[email protected]> | 2016-07-04 08:08:32 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-07-04 08:18:20 +0100 |
commit | 1b51bce27b58881275e855a9630918297ce867b8 (patch) | |
tree | 7e2be25270358d43f83c08f3156156ee8642bc46 /tools/perf/scripts/python/syscall-counts.py | |
parent | 67d97da34917fb0b21af4c0942a6e03b4b10c094 (diff) |
drm/i915: Do not keep postponing the idle-work
Rather than persistently postponing the idle-work everytime somebody
calls i915_gem_retire_requests() (potentially ensuring that we never
reach the idle state), queue the work the first time we detect all
requests are complete. Then if in 100ms, more requests have been queued,
we will abort the idle-worker and wait again until all the new requests
have been completed.
Of course, this does depend upon the idle worker cancelling itself
gracefully from the previous patch.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions