5a1a659...
by
Tvrtko Ursulin <email address hidden>
drm/i915: Wedge the GPU if command parser setup fails
Commit 311a50e76a33 ("drm/i915: Add support for mandatory cmdparsing")
introduced mandatory command parsing but setup failures were not
translated into wedging the GPU which was probably the intent.
Possible errors come in two categories. Either the sanity check on
internal tables has failed, which should be caught in CI unless an
affected platform would be missed in testing; or memory allocation failure
happened during driver load, which should be extremely unlikely but for
correctness should still be handled.
v2:
* Tidy coding style. (Chris)
Signed-off-by: Tvrtko Ursulin <email address hidden>
Fixes: 311a50e76a33 ("drm/i915: Add support for mandatory cmdparsing")
Cc: Jon Bloomfield <email address hidden>
Cc: Joonas Lahtinen <email address hidden>
Cc: Chris Wilson <email address hidden>
Reviewed-by: Chris Wilson <email address hidden>
Link: https://patchwork.freedesktop<email address hidden>
drm/i915: Move common active lists from engine to i915_scheduler
Extract the scheduler lists into a related structure, stop sprawling
over struct intel_engine_cs. Also transfer the responsibility of tracing
the scheduler events from ENGINE_TRACE() to SCHED_TRACE().
Signed-off-by: Chris Wilson <email address hidden>
Reviewed-by: Tvrtko Ursulin <email address hidden>
Link: https://patchwork<email address hidden>