diff options
author | Tvrtko Ursulin <tvrtko.ursulin@igalia.com> | 2025-02-21 10:50:34 +0000 |
---|---|---|
committer | Philipp Stanner <phasta@kernel.org> | 2025-02-24 10:17:40 +0100 |
commit | 80b6ef8ae25ade45e6418df3ddf699a5a10a7ca4 (patch) | |
tree | 0df66a68cd640735694f15f8591c2885f24318e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b6eb664d89e7ed1e3369fe2860fea31e6dc45e34 (diff) |
drm/amdgpu: Pop jobs from the queue more robustly
Replace a copy of DRM scheduler's to_drm_sched_job with a copy of a newly
added drm_sched_entity_queue_pop.
This allows breaking the hidden dependency that queue_node has to be the
first element in struct drm_sched_job.
A comment is also added with a reference to the mailing list discussion
explaining the copied helper will be removed when the whole broken
amdgpu_job_stop_all_jobs_on_sched is removed.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Philipp Stanner <phasta@kernel.org>
Cc: Zhang, Hawking <Hawking.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250221105038.79665-3-tvrtko.ursulin@igalia.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions