summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorLinmao Li <lilinmao@kylinos.cn>2026-07-06 15:14:08 +0800
committerTvrtko Ursulin <tursulin@ursulin.net>2026-07-08 09:32:55 +0100
commitca1dc06173fd7ecc229009d916dff5bd815c1320 (patch)
tree3790b4e09e6186d5170a5180161235fd40d6016f /tools/perf/scripts/python/libxed.py
parentaa65e0a4b51b3b54b53e4142aaa2d997aa1061ff (diff)
drm/i915/guc: Return NULL for missing multi-lrc parent
multi_lrc_create_parent() returns ERR_PTR(0) when there are not enough engines in the class to create a parallel context. ERR_PTR(0) evaluates to NULL, and the only caller already treats NULL as the non-error "not enough engines" case. Return NULL directly to make the non-error path explicit. Signed-off-by: Linmao Li <lilinmao@kylinos.cn> Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net> Link: https://lore.kernel.org/r/20260706071412.559909-1-lilinmao@kylinos.cn
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions