summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2026-08-13 13:59:07 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-08-19 10:03:25 -0400
commit3438e964c916eb1a51f9f3ac018758e44abe5539 (patch)
treecf568082b490a83bad7c1e586f2f8ea7cbd26126 /tools/perf/scripts/python/bin/stackcollapse-record
parentffdb7a8104f51d552dea4b319c8ce5169f63e724 (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/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions