diff options
| author | Michel Dänzer <[email protected]> | 2021-07-23 07:58:57 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2021-11-04 08:18:57 +0000 |
| commit | ff2d23843f7fb4f13055be5a4a9a20ddd04e6e9c (patch) | |
| tree | 1a53056d2263731c9c5641083268af161f0d530d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | fbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list) (diff) | |
| download | kernel-ff2d23843f7fb4f13055be5a4a9a20ddd04e6e9c.tar.gz kernel-ff2d23843f7fb4f13055be5a4a9a20ddd04e6e9c.zip | |
dma-buf/poll: Get a file reference for outstanding fence callbacks
This makes sure we don't hit the
BUG_ON(dmabuf->cb_in.active || dmabuf->cb_out.active);
in dma_buf_release, which could be triggered by user space closing the
dma-buf file description while there are outstanding fence callbacks
from dma_buf_poll.
Cc: [email protected]
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
