commit | 41f0bc49f7f2014feab8b278fea2adaea6ccaf4e | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 09 07:17:59 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Wed Oct 09 08:58:39 2019 +0100 |
tree | 17ce851c2be618a157ae40e13dc926210682c73c | |
parent | 6ad145fe0246abe31a312ce19321bb5b11635802 [diff] |
drm/i915/selftests: Hold request reference over waits Take a reference on the request before submitting it to the HW and then waiting on it for selftest_workarounds. Once submitted, the request may be freed by a background worker, unless we take an extra reference for ourselves. References: https://bugs.freedesktop.org/show_bug.cgi?id=111926 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191009061759.3189-1-chris@chris-wilson.co.uk