Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 7e2e69ed authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Christian König
Browse files

drm/i915: Fix i915_request fence wait semantics


The i915_request fence wait behaves differently for timeout = 0
compared to expected dma-fence behavior.

i915 behavior:
- Unsignaled: -ETIME
- Signaled: 0 (= timeout)

Expected:
- Unsignaled: 0
- Signaled: 1

Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: default avatarDaniel Vetter <daniel@ffwll.ch>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211116102431.198905-6-christian.koenig@amd.com


Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
parent 5e9ddbdc
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment