diff options
| author | Badal Nilawar <[email protected]> | 2023-10-30 17:26:17 +0530 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:43:32 -0500 |
| commit | fef6dd12b45a1a15c24c9df30fb2c27e68984665 (patch) | |
| tree | ea194060bae1ccc890d9f4c6227dfa18cd9fbe81 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b42ff0462d9eb7b84e31152c63c9809b6f743bf8 (diff) | |
drm/xe/hwmon: Protect hwmon rw attributes with hwmon_lock
Take hwmon_lock while accessing hwmon rw attributes. For readonly
attributes its not required to take lock as reads are protected
by sysfs layer and therefore sequential.
Cc: Ashutosh Dixit <[email protected]>
Cc: Anshuman Gupta <[email protected]>
Signed-off-by: Badal Nilawar <[email protected]>
Reviewed-by: Anshuman Gupta <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions