aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorXiyu Yang <[email protected]>2021-07-19 05:58:51 +0000
committerInki Dae <[email protected]>2021-08-21 16:56:38 +0000
commit8c27cc5b90ed00ed0dc5956b99e455a494ac8970 (patch)
tree0ef8b02a7a1b0b9ef838b1234975ff0d0893449e /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/exynos: g2d: fix missing unlock on error in g2d_runqueue_worker() (diff)
downloadkernel-8c27cc5b90ed00ed0dc5956b99e455a494ac8970.tar.gz
kernel-8c27cc5b90ed00ed0dc5956b99e455a494ac8970.zip
drm/exynos: Convert from atomic_t to refcount_t on g2d_cmdlist_userptr->refcount
refcount_t type and corresponding API can protect refcounters from accidental underflow and overflow and further use-after-free situations. Signed-off-by: Xiyu Yang <[email protected]> Signed-off-by: Xin Tan <[email protected]> Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions