summaryrefslogtreecommitdiff
path: root/scripts/include
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2026-01-29 14:29:26 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-03-18 00:46:30 +0300
commita1371d9f0e611ef40cd31b02565e2325701c1d82 (patch)
treeec3298cecc69af6c62bdc7228fd334f5ab67bb99 /scripts/include
parent2c192b06f1e6bd9f770138a55b26c4ea04246e2f (diff)
downloadlinux-a1371d9f0e611ef40cd31b02565e2325701c1d82.tar.xz
drm/amdgpu: rework amdgpu_userq_wait_ioctl v4
Lockdep was complaining about a number of issues here. Especially lock inversion between syncobj, dma_resv and copying things into userspace. Rework the functionality. Split it up into multiple functions, consistenly use memdup_array_user(), fix the lock inversions and a few more bugs in error handling. v2: drop the dma_fence leak fix, turned out that was actually correct, just not well documented. Apply some more cleanup suggestion from Tvrtko. v3: rebase on already done cleanups v4: add missing dma_fence_put() in error path. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Sunil Khatri <sunil.khatri@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/include')
0 files changed, 0 insertions, 0 deletions