aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2024-03-21 12:55:12 -0700
committerLucas De Marchi <[email protected]>2024-05-09 09:40:59 -0500
commit7bd9c9f962eb36d5b88bbe4108d368aad3500c05 (patch)
treea8f48ea3a2e3e0390773815572a4eda6ead5f233 /tools/perf/scripts/python/Perf-Trace-Util
parent2d4b74a619de70e1b87683fa2fa23affa5315f7f (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] (cherry picked from commit b4abeb5545bb3ddcdda3c19067680ad0b2259be4) Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions