diff options
author | Matthew Brost <[email protected]> | 2024-06-04 22:50:41 -0700 |
---|---|---|
committer | Matthew Brost <[email protected]> | 2024-06-06 09:22:20 -0700 |
commit | 5d30de4311d2d4165e78dc021c5cacb7496b3491 (patch) | |
tree | f6cfacbfb10cdd11e06c57c87e1be71b60bcdecd /tools/perf/scripts/python/parallel-perf.py | |
parent | df433a3fac078c79dc4efab81015dec012322668 (diff) |
drm/xe: Do not dereference NULL job->fence in trace points
job->fence is not assigned until xe_sched_job_arm(), check for
job->fence in xe_sched_job_seqno() so any usage of this function (trace
points) do not result in NULL ptr dereference. Also check job->fence
before assigning error in job trace points.
Fixes: 0ac7a2c745e8 ("drm/xe: Don't initialize fences at xe_sched_job_create()")
Cc: Thomas Hellström <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions