OSDN Git Service

drm/i915: Propagate error from completed fences
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 May 2020 16:21:36 +0000 (17:21 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 May 2020 17:23:14 +0000 (18:23 +0100)
commit24fe5f2ab2478053d50a3bc629ada895903a5cbc
treeb056c85b1a12774e6f164584f4c21d923510e3a0
parent9b2383a7ac082cf71d4fc462c3ec6d5939cf6a04
drm/i915: Propagate error from completed fences

We need to preserve fatal errors from fences that are being terminated
as we hook them up.

Fixes: ef4688497512 ("drm/i915: Propagate fence errors")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200506162136.3325-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c