diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-16 16:14:47 +0000 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-17 09:18:02 +0000 |
| commit | a22f34783476a39d157b60485285aaa43554cb2d (patch) | |
| tree | 927be80d9d261fc978a4db285de050cc66749c45 /include | |
| parent | 220a6704ff4373cf1573b663d90d632ea0740210 (diff) | |
| download | cachepc-linux-a22f34783476a39d157b60485285aaa43554cb2d.tar.gz cachepc-linux-a22f34783476a39d157b60485285aaa43554cb2d.zip | |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
