diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-03-21 10:53:56 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-04-10 10:38:59 +0100 |
commit | dfb4bf1ac40162ff5ea3715a10f6af2dcf3030c5 (patch) | |
tree | 11fa3641c98935590636bfff1a66578897744d17 /scripts/lib/kdoc/kdoc_files.py | |
parent | 7e3711eb87c584ed224a7ad7000eba36e6fa3a51 (diff) |
fbdev: Send old blank state in FB_EVENT_BLANK
The event FB_EVENT_BLANK sends the new blank state in the event's
data field. Also send the old state. It's an additional field in the
data array; existing receivers won't notice the difference.
The backlight subsystem currently tracks blank state per display per
backlight. That is not optimal as it ties backlight code to fbdev. A
subsystem should not track internal state of another subsystem. With
both, new and old, blank state in FB_EVENT_BLANK, the backlight code
will not require its own state tracker any longer.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Simona Vetter <simona.vetter@ffwll.ch>
Link: https://lore.kernel.org/r/20250321095517.313713-4-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions