Skip to content

Commit f3f7d84

Browse files
committed
at linux 5.6.15
1 parent 2f650bf commit f3f7d84

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sys/external/bsd/drm2/dist/drm/i915/i915_request.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,8 +941,10 @@ i915_request_await_request(struct i915_request *to, struct i915_request *from)
941941
GEM_BUG_ON(to == from);
942942
GEM_BUG_ON(to->timeline == from->timeline);
943943

944-
if (i915_request_completed(from))
944+
if (i915_request_completed(from)) {
945+
i915_sw_fence_set_error_once(&to->submit, from->fence.error);
945946
return 0;
947+
}
946948

947949
if (to->engine->schedule) {
948950
ret = i915_sched_node_add_dependency(&to->sched,

0 commit comments

Comments
 (0)