diff options
| author | Thomas Zimmermann <[email protected]> | 2025-03-21 09:53:56 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2025-04-10 09:38:59 +0000 |
| commit | dfb4bf1ac40162ff5ea3715a10f6af2dcf3030c5 (patch) | |
| tree | 11fa3641c98935590636bfff1a66578897744d17 /rust/helpers/xarray.c | |
| parent | fbdev: Track display blanking state (diff) | |
| download | kernel-dfb4bf1ac40162ff5ea3715a10f6af2dcf3030c5.tar.gz kernel-dfb4bf1ac40162ff5ea3715a10f6af2dcf3030c5.zip | |
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 <[email protected]>
Acked-by: Simona Vetter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
