diff options
| author | Chris Wilson <[email protected]> | 2017-02-12 21:53:43 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-02-14 09:38:42 +0000 |
| commit | d892e9398ecf6defc7972a62227b77dad6be20bd (patch) | |
| tree | f1fc8610c2cf5b098948969734b73d77c701002d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 04a68a35ce6d7b54749989f943993020f48fed62 (diff) | |
drm/i915: Pass timeout==0 on to i915_gem_object_wait_fence()
The i915_gem_object_wait_fence() uses an incoming timeout=0 to query
whether the current fence is busy or idle, without waiting. This can be
used by the wait-ioctl to implement a busy query.
Fixes: e95433c73a11 ("drm/i915: Rearrange i915_wait_request() accounting with callers")
Testcase: igt/gem_wait/basic-busy-write-all
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Cc: <[email protected]> # v4.10-rc1+
Cc: [email protected]
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions