aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2024-05-22 11:21:45 +0100
committerMatthew Auld <[email protected]>2024-05-22 13:22:38 +0100
commitc60f91bbc4bcd91f9c7f3de36c541951b12d165a (patch)
tree0ac0cc9964ad2780e16ee6263daa2b38c2cbb978 /tools/perf/scripts/python/libxed.py
parent4465b8c6d3539811ce576f163cb3bf3890e5c883 (diff)
drm/xe: covert sysfs over to devm
Hotunplugging the device seems to result in stuff like: kobject_add_internal failed for tile0 with -EEXIST, don't try to register things with the same name in the same directory. We only remove the sysfs as part of drmm, however that is tied to the lifetime of the driver instance and not the device underneath. Attempt to fix by using devm for all of the remaining sysfs stuff related to the device. Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1667 Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1432 Signed-off-by: Matthew Auld <[email protected]> Cc: Rodrigo Vivi <[email protected]> Reviewed-by: Andrzej Hajda <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions