diff options
| author | Chris Wilson <[email protected]> | 2017-01-10 17:22:43 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-01-10 20:49:30 +0000 |
| commit | c0d5f32c5043e8568ffdbcff60dfba26f408fa10 (patch) | |
| tree | eb494061687e9c051de964874dd6039d38d6a4ea /scripts/objdiff | |
| parent | 2edc6e0df1c15c0cc665a8aa61dcf2c540e90a70 (diff) | |
drm/i915: Set guilty-flag on fence after detecting a hang
The struct dma_fence carries a status field exposed to userspace by
sync_file. This is inspected after the fence is signaled and can convey
whether or not the request completed successfully, or in our case if we
detected a hang during the request (signaled via -EIO in
SYNC_IOC_FILE_INFO).
v2: Mark all cancelled requests as failed.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions