diff options
| author | Chris Wilson <[email protected]> | 2018-03-01 10:33:38 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-03-01 17:42:58 +0000 |
| commit | ffed7bd23641b1a724f7fa49aa3781aa0ccbd9a0 (patch) | |
| tree | bc58b0f8e193eb72f77816c36afa0d54d17e0063 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 41d3fdcd15d5ecf29cc73e8b79c2327ebb54b960 (diff) | |
drm/i915: Replace open-coded wait-for loop
Now that we can pass arbitrary commands into the base __wait_for()
macro, we can reimplement the open-coded wait-for inside
i915_gem_idle_work_handler() using the new macro. This means that instead
of using ktime, we now use jiffies, and benefit from the exponential sleep
backoff that allows a fast response if the HW settles quickly.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions