aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2024-05-10 17:47:09 +0200
committerThomas Zimmermann <[email protected]>2024-05-13 13:35:51 +0200
commitbf1754789386e2f3ffc06aa77818ff80fe27475f (patch)
tree04540a33819ffa647f349dcaec7833d4e2da2c6f /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent5aed213c7c6c4f5dcb1a3ef146f493f18fe703dc (diff)
drm/udl: Move drm_dev_{enter, exit}() into udl_get_edid_block()
Protect the code in udl_get_edid_block() with drm_dev_enter() and drm_dev_exit(), so that all callers automatically invoke it. The function uses hardware resources, which can be hot-unplugged at any time. The other code in udl_connector_detect() does not use the resources of the hardware device and therefore does not require protection. This change will allow to use udl_get_edid_block() in various contexts easily. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions