diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-08-13 14:02:35 +0530 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-08-19 10:03:33 -0400 |
| commit | 5827c7ad72b6826d9b90be15af139dd2287e3ca3 (patch) | |
| tree | bb26e3870249d33595bb202d01bf3d18d0eb2db1 /scripts/const_structs.checkpatch | |
| parent | 2411e499385c7df58afedb59238817579bc2168b (diff) | |
| download | linux-5827c7ad72b6826d9b90be15af139dd2287e3ca3.tar.gz linux-5827c7ad72b6826d9b90be15af139dd2287e3ca3.zip | |
drm/amdgpu/userq: ignore duplicate BO locks when returning wait fence info
amdgpu_userq_wait_return_fence_info() 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 fence resolution pass 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.
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 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
