aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHimal Prasad Ghimiray <[email protected]>2024-04-12 23:42:11 +0530
committerLucas De Marchi <[email protected]>2024-04-18 13:30:24 -0700
commitc086bfc6ff4db73a39e7c9cc106f1ba7f0051be6 (patch)
tree4fa988f2b945f32d89bddfeed58f7d04305be952 /tools/perf/scripts/python/export-to-postgresql.py
parente3d0839aa50175d9af99f84f8c03523a4e42d8a7 (diff)
drm/xe/pm: Capture errors and handle them
xe_pm_init may encounter failures for various reasons, such as a failure in initializing drmm_mutex, or when dealing with a d3cold-capable device for vram_threshold sysfs creation and setting default threshold. Presently, all these potential failures are disregarded. Move d3cold.lock initialization to xe_pm_init_early and cause driver abort if mutex initialization has failed. For xe_pm_init failures cleanup the driver and return error code -v2 Make mutex init cleaner (Lucas) Cc: Lucas De Marchi <[email protected]> Cc: Rodrigo Vivi <[email protected]> Signed-off-by: Himal Prasad Ghimiray <[email protected]> Reviewed-by: Lucas De Marchi <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions