diff options
| author | Michal Wajdeczko <[email protected]> | 2019-08-11 19:51:32 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-12 09:47:43 +0100 |
| commit | a5f978c3609f02ae0ccff1bf010b32e41707ef66 (patch) | |
| tree | d8809106a6a5ca6dfa5c61bbd99ea94bbe5484a4 /tools/perf/scripts/python/futex-contention.py | |
| parent | 07587c3435110e172051c3a1fa0764027a1815f8 (diff) | |
drm/i915/uc: Use -EIO code for GuC initialization failures
Since commit 6ca9a2beb54a ("drm/i915: Unwind i915_gem_init() failure")
we believed that we correctly handle all errors encountered during
GuC initialization, including special one that indicates request to
run driver with disabled GPU submission (-EIO).
Unfortunately since commit 121981fafe69 ("drm/i915/guc: Combine
enable_guc_loading|submission modparams") we stopped using that
error code to avoid unwanted fallback to execlist submission mode.
In result any GuC initialization failure was treated as non-recoverable
error leading to driver load abort, so we could not even read related
GuC error log to investigate cause of the problem.
For now always return -EIO on any uC hardware related failure.
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions