diff options
author | 2025-03-21 10:53:58 +0100 | |
---|---|---|
committer | 2025-04-10 10:39:01 +0100 | |
commit | 4bfb77f3381627640e97e0e423c93a2ea93e7de7 (patch) | |
tree | a88e793bf46544aaed626c23b8192790a0b65032 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | backlight: Implement fbdev tracking with blank state from event (diff) | |
download | linux-rng-4bfb77f3381627640e97e0e423c93a2ea93e7de7.tar.xz linux-rng-4bfb77f3381627640e97e0e423c93a2ea93e7de7.zip |
backlight: Move blank-state handling into helper
Move the handling of blank-state updates into a separate helper,
so that is can be called without the fbdev event. No functional
changes.
As a minor improvement over the original code, the update replaces
manual locking with a guard.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: "Daniel Thompson (RISCstar)" <danielt@kernel.org>
Acked-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://lore.kernel.org/r/20250321095517.313713-6-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions