]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: simplify svm_range_unmap_from_gpus()
authorYury Norov <ynorov@nvidia.com>
Wed, 14 Jan 2026 16:05:10 +0000 (11:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jan 2026 19:24:19 +0000 (14:24 -0500)
commitafaf4250713e4678563914c6cfaf3e381562cf5f
tree6dc72619bcbb140aeed86edb346f1abc12c9eb21
parent532e2c87d428d2dc18152f004c59be15281310bc
drm/amdkfd: simplify svm_range_unmap_from_gpus()

The function calls bitmap_or() followed by for_each_set_bit().
Switch it to the dedicated for_each_or_bit() and drop the temporary
bitmap.

Signed-off-by: Yury Norov <ynorov@nvidia.com>
Signed-off-by: Felix Kuehling <felix.kuehling@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c