diff options
author | Chris Wilson <[email protected]> | 2020-03-03 08:05:44 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2020-03-03 17:30:20 +0000 |
commit | 130a95e9098e91117164b1ba52c3f8f43bb6f28a (patch) | |
tree | d4390196438c81528eb36bda69b4a116697bcda9 /lib/test_overflow.c | |
parent | 3faf8b8532d750be669af0d27049914cff90acd8 (diff) |
drm/i915/gem: Consolidate ctx->engines[] release
Use the same engine_idle_release() routine for cleaning all old
ctx->engine[] state, closing any potential races with concurrent execbuf
submission.
v2ish: Use the ce->pin_count to close the execbuf gap.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/1241
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions