summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2026-08-13 14:02:09 +0530
committerAlex Deucher <alexander.deucher@amd.com>2026-08-19 10:03:30 -0400
commit2411e499385c7df58afedb59238817579bc2168b (patch)
tree4208638d2f76ce5061d50d885a400a0ace147a2e /tools/perf/scripts/python/task-analyzer.py
parent3438e964c916eb1a51f9f3ac018758e44abe5539 (diff)
drm/amdgpu/userq: ignore duplicate BO locks when counting wait fences
amdgpu_userq_wait_count_fences() 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-counting 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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions