diff options
| author | 2026-08-13 13:59:07 +0530 | |
|---|---|---|
| committer | 2026-08-19 10:03:25 -0400 | |
| commit | 3438e964c916eb1a51f9f3ac018758e44abe5539 (patch) | |
| tree | cf568082b490a83bad7c1e586f2f8ea7cbd26126 /tools/lib/python/kdoc/python_version.py | |
| parent | drm/amdgpu: ensure all userq VAs mapped before restore (diff) | |
drm/amdgpu/userq: ignore duplicate BO locks in userq signal ioctl
amdgpu_userq_signal_ioctl() calls drm_exec_init() without
DRM_EXEC_IGNORE_DUPLICATES. When the same GEM object appears more than
once across the read/write BO handle lists submitted by userspace,
drm_exec_lock_obj() returns -EALREADY the second time it locks that
object, which aborts the ioctl instead of treating the repeat as a
no-op.
Add DRM_EXEC_IGNORE_DUPLICATES so duplicate objects are silently
skipped on the second lock attempt, matching the intended semantics of
locking a set of (possibly overlapping) BOs before publishing a fence
on them.
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>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
