]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu/userqueue: validate userptrs for userqueues
authorSunil Khatri <sunil.khatri@amd.com>
Thu, 25 Sep 2025 09:01:54 +0000 (14:31 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Oct 2025 18:14:36 +0000 (14:14 -0400)
commit42f148788469792df207751e2339ef2bb8a1e33e
tree8156da0b7ce26d3b48cdb56e4c9e7ba44253fc2d
parent737da5363cc07c96d59f2ebaf9f9f87235becf1d
drm/amdgpu/userqueue: validate userptrs for userqueues

userptrs could be changed by the user at any time and
hence while locking all the bos before GPU start processing
validate all the userptr bos.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c