diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-09 07:17:59 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-09 08:58:39 +0100 |
| commit | 41f0bc49f7f2014feab8b278fea2adaea6ccaf4e (patch) | |
| tree | 17ce851c2be618a157ae40e13dc926210682c73c /include/linux/workqueue.h | |
| parent | 6ad145fe0246abe31a312ce19321bb5b11635802 (diff) | |
| download | cachepc-linux-41f0bc49f7f2014feab8b278fea2adaea6ccaf4e.tar.gz cachepc-linux-41f0bc49f7f2014feab8b278fea2adaea6ccaf4e.zip | |
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
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
