diff options
| author | Chris Wilson <[email protected]> | 2021-02-01 08:56:22 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2021-03-24 18:30:36 +0000 |
| commit | c10e4a7960f3032b0313c4b684e0b4025b4c138d (patch) | |
| tree | 8461d400de755aadba6c9dcf67c58cc81147a003 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/i915: allocate cmd ring in lmem (diff) | |
| download | kernel-c10e4a7960f3032b0313c4b684e0b4025b4c138d.tar.gz kernel-c10e4a7960f3032b0313c4b684e0b4025b4c138d.zip | |
drm/i915: Protect against request freeing during cancellation on wedging
As soon as we mark a request as completed, it may be retired. So when
cancelling a request and marking it complete, make sure we first keep a
reference to the request.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
