summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorXiyu Yang <xiyuyang19@fudan.edu.cn>2021-07-19 13:58:51 +0800
committerInki Dae <inki.dae@samsung.com>2021-08-22 01:56:38 +0900
commit8c27cc5b90ed00ed0dc5956b99e455a494ac8970 (patch)
tree0ef8b02a7a1b0b9ef838b1234975ff0d0893449e /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentb74a29fac6de62f39b594e8f545b3a26db7edb5e (diff)
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 <xiyuyang19@fudan.edu.cn> Signed-off-by: Xin Tan <tanxin.ctf@gmail.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions