Skip to content

Commit c67b35d

Browse files
icklejnikula
authored andcommitted
drm/i915: Actually emit the await_start
Fix the inverted test to emit the wait on the end of the previous request if we /haven't/ already. Fixes: 6a79d84 ("drm/i915: Lock signaler timeline while navigating") Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: <[email protected]> # v5.5+ Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 07e9c59) Signed-off-by: Jani Nikula <[email protected]>
1 parent b74f241 commit c67b35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/i915_request.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ i915_request_await_start(struct i915_request *rq, struct i915_request *signal)
821821
return 0;
822822

823823
err = 0;
824-
if (intel_timeline_sync_is_later(i915_request_timeline(rq), fence))
824+
if (!intel_timeline_sync_is_later(i915_request_timeline(rq), fence))
825825
err = i915_sw_fence_await_dma_fence(&rq->submit,
826826
fence, 0,
827827
I915_FENCE_GFP);

0 commit comments

Comments
 (0)