aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorXu Yilun <[email protected]>2025-07-16 07:03:49 +0000
committerJason Gunthorpe <[email protected]>2025-07-18 20:33:08 +0000
commitab6bc44159d8f0c4ee757e0ce041fa9033e0ead8 (patch)
treea511faa6929db958e5475365496345810f9071a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentiommufd/selftest: Add coverage for vdevice tombstone (diff)
downloadkernel-ab6bc44159d8f0c4ee757e0ce041fa9033e0ead8.tar.gz
kernel-ab6bc44159d8f0c4ee757e0ce041fa9033e0ead8.zip
iommufd: Rename some shortterm-related identifiers
Rename the shortterm-related identifiers to wait-related. The usage of shortterm_users refcount is now beyond its name. It is also used for references which live longer than an ioctl execution. E.g. vdev holds idev's shortterm_users refcount on vdev allocation, releases it during idev's pre_destroy(). Rename the refcount as wait_cnt, since it is always used to sync the referencing & the destruction of the object by waiting for it to go to zero. List all changed identifiers: iommufd_object::shortterm_users -> iommufd_object::wait_cnt REMOVE_WAIT_SHORTTERM -> REMOVE_WAIT iommufd_object_dec_wait_shortterm() -> iommufd_object_dec_wait() zerod_shortterm -> zerod_wait_cnt No functional change intended. Link: https://patch.msgid.link/r/[email protected] Suggested-by: Kevin Tian <[email protected]> Suggested-by: Jason Gunthorpe <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Nicolin Chen <[email protected]> Tested-by: Nicolin Chen <[email protected]> Signed-off-by: Xu Yilun <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions