drm/amdkfd: reserve the BO before validating it
authorjsg <jsg@openbsd.org>
Fri, 30 Aug 2024 04:18:07 +0000 (04:18 +0000)
committerjsg <jsg@openbsd.org>
Fri, 30 Aug 2024 04:18:07 +0000 (04:18 +0000)
commitc37b0968f652b93068878b8afbc9c5c256ae614e
tree9b6bfbdf139451a2d7d77e6ca07a39cc3b343401
parenta1ac44616707dde0c46d3e4ba9ad5c35e2466399
drm/amdkfd: reserve the BO before validating it

From Lang Yu
9b707444bebce5326b8eae5401a2dce55626f8f2 in linux-6.6.y/6.6.48
0c93bd49576677ae1a18817d5ec000ef031d5187 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd.h
sys/dev/pci/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
sys/dev/pci/drm/amd/amdkfd/kfd_chardev.c