diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-16 19:14:47 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2020-03-20 17:04:41 +0300 |
commit | 16e5c2f0d30178d977cd461f3f46deb250b5b5ea (patch) | |
tree | 996cbd54dba199538bd805ed956c9fff3a86cafd /COPYING | |
parent | e50c951ea6ff17e7b1f2a5c118506b58b474ded3 (diff) | |
download | linux-16e5c2f0d30178d977cd461f3f46deb250b5b5ea.tar.xz |
drm/i915/gem: Check for a closed context when looking up an engine
Beware that the context may already be closed as we try to lookup an
engine.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/1389
Fixes: 130a95e9098e ("drm/i915/gem: Consolidate ctx->engines[] release")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200316161447.18410-1-chris@chris-wilson.co.uk
(cherry picked from commit a22f34783476a39d157b60485285aaa43554cb2d)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions