diff options
author | 2024-04-12 23:42:09 +0530 | |
---|---|---|
committer | 2024-04-18 13:26:34 -0700 | |
commit | 9c3f72a342c9558929ad63839e758d35ac28ae93 (patch) | |
tree | acc932e092e1062d7ed9e2b2f0638e7c93541c25 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/xe: Return NULL in case of drmm_add_action_or_reset failure (diff) | |
download | wireguard-linux-9c3f72a342c9558929ad63839e758d35ac28ae93.tar.xz wireguard-linux-9c3f72a342c9558929ad63839e758d35ac28ae93.zip |
drm/xe/gt: Abort driver load for sysfs creation failure
Instead of allowing the driver to load with incomplete sysfs entries in
case of sysfs creation failure, we should terminate the driver loading.
This change ensures that the status of all gt associated sysfs entries
creation is relayed to xe_gt_init, leading to a driver load abort if any
sysfs creation failures occur.
-v2
use err_force_wake label instead of new. (Lucas)
Avoid unnecessary warn/error messages. (Lucas)
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240412181211.1155732-6-himal.prasad.ghimiray@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions