aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm/ttm_bo_vm.c
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2021-07-23 09:58:57 +0200
committerChristian König <christian.koenig@amd.com>2021-11-04 09:18:57 +0100
commitff2d23843f7fb4f13055be5a4a9a20ddd04e6e9c (patch)
tree1a53056d2263731c9c5641083268af161f0d530d /drivers/gpu/drm/ttm/ttm_bo_vm.c
parentfbdev: Garbage collect fbdev scrolling acceleration, part 1 (from TODO list) (diff)
downloadlinux-dev-ff2d23843f7fb4f13055be5a4a9a20ddd04e6e9c.tar.xz
linux-dev-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: stable@vger.kernel.org Signed-off-by: Michel Dänzer <mdaenzer@redhat.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210723075857.4065-1-michel@daenzer.net Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions