diff options
| author | Chris Wilson <[email protected]> | 2016-10-20 09:29:36 +0000 |
|---|---|---|
| committer | Zhenyu Wang <[email protected]> | 2016-10-20 09:29:36 +0000 |
| commit | 0eb742d7af224481ab7abb7b38bd7166e47661e2 (patch) | |
| tree | 74ff85c97fbfd2612c2124a8ca46479526630ce0 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | drm/i915/gvt: Remove dangerous unpin of backing storage of bound GPU object (diff) | |
| download | kernel-0eb742d7af224481ab7abb7b38bd7166e47661e2.tar.gz kernel-0eb742d7af224481ab7abb7b38bd7166e47661e2.zip | |
drm/i915/gvt: Hold a reference on the request
The workload took a pointer to the request, and even waited upon,
without holding a reference on the request. Take that reference
explicitly and fix up the error path following request allocation that
missed flushing the request.
v2: [zhenyuw]
- drop request put in error path for dispatch, as main thread
caller will handle it identically to a real request.
Signed-off-by: Chris Wilson <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
