]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915/gt: Propagate change in error status to children on unhold"
authorMatthew Brost <matthew.brost@intel.com>
Thu, 9 Sep 2021 16:47:28 +0000 (09:47 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Mon, 13 Sep 2021 18:30:31 +0000 (11:30 -0700)
commit797554f418d504553bf9380143060fe0610e8fc3
tree453b5ff58f886184c70151fbe9df742a08689e4b
parent2dbbd2b093df993aa5c56f6263b524fc241f50d2
Revert "drm/i915/gt: Propagate change in error status to children on unhold"

Propagating errors to dependent fences is broken and can lead to errors
from one client ending up in another. In commit 376e99dded54 ("Revert
"drm/i915: Propagate errors on awaiting already signaled fences""), we
attempted to get rid of fence error propagation but missed the case
added in commit 416a80f8ff9d ("drm/i915/gt: Propagate change in error
status to children on unhold"). Revert that one too. This error was
found by an up-and-coming selftest which triggers a reset during
request cancellation and verifies that subsequent requests complete
successfully.

v2:
 (Daniel Vetter)
  - Use revert
v3:
 (Jason)
  - Update commit message

v4 (Daniele):
 - fix checkpatch error in commit message.

References: '376e99dded54 ("Revert "drm/i915: Propagate errors on awaiting already signaled fences"")'
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210909164744.31249-8-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/intel_execlists_submission.c