diff options
author | Chris Wilson <[email protected]> | 2017-02-08 18:12:38 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2017-02-16 11:59:12 +0200 |
commit | 44a027058b24541cc7ec499e6fb91db4b130648a (patch) | |
tree | 06c6ba04be0b98c6676e3332c3007ee19ad10f9c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3e52d71ede206df75b56208e7c7a277ef157bb71 (diff) |
drm/i915: Check for timeout completion when waiting for the rq to submitted
We first wait for a request to be submitted to hw and assigned a seqno,
before we can wait for the hw to signal completion (otherwise we don't
know the hw id we need to wait upon). Whilst waiting for the request to
be submitted, we may exceed the user's timeout and need to propagate the
error back.
v2: Make ETIME into an error from wait_for_execute for consistent exit
handling.
Reported-by: Tvrtko Ursulin <[email protected]>
Fixes: 4680816be336 ("drm/i915: Wait first for submission, before waiting for request completion")
Testcase: igt/gem_wait/basic-await
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[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: Tvrtko Ursulin <[email protected]>
(cherry picked from commit 969bb72cbfd906d347cf76dc9b8c8dbaf83ba27a)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions