aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2020-05-13 07:47:47 +0000
committerChris Wilson <[email protected]>2020-05-13 12:38:59 +0000
commit1c530d431c698f156538b8954b07df95337beb34 (patch)
tree06a1acc1f0cd38f59b2b4b6adc653d7a0a461daa /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
parentdrm/mcde: dsi: Fix return value check in mcde_dsi_bind() (diff)
downloadkernel-1c530d431c698f156538b8954b07df95337beb34.tar.gz
kernel-1c530d431c698f156538b8954b07df95337beb34.zip
dma-buf: Use atomic_fetch_add() for the context id
Now that atomic64_fetch_add() exists we can use it to return the base context id, rather than the atomic64_add_return(N) - N concoction. Suggested-by: Mika Kuoppala <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Maciej Patelczyk <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions