diff options
| author | Daniele Ceraolo Spurio <[email protected]> | 2024-03-21 12:55:12 -0700 |
|---|---|---|
| committer | Daniele Ceraolo Spurio <[email protected]> | 2024-03-22 10:22:20 -0700 |
| commit | b4abeb5545bb3ddcdda3c19067680ad0b2259be4 (patch) | |
| tree | 35d1102e8b8d01ee5abaaf2f378eec0f7fdfb7ca /tools/perf/scripts/python/netdev-times.py | |
| parent | c04b8aaeb4b23156a1ac7c14c28fd0b64687b290 (diff) | |
drm/xe/guc: Check error code when initializing the CT mutex
The initialization via drmm_mutex_init can fail, so we need to check the
return code and escalate the failure.
The mutex initialization has been moved after all the other init steps
that can't fail, so we're always guaranteed to have those done and don't
have to check in the cleanup code.
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Vinay Belgaumkar <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions