aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-03-21 09:53:56 +0000
committerLee Jones <[email protected]>2025-04-10 09:38:59 +0000
commitdfb4bf1ac40162ff5ea3715a10f6af2dcf3030c5 (patch)
tree11fa3641c98935590636bfff1a66578897744d17 /rust/helpers/xarray.c
parentfbdev: Track display blanking state (diff)
downloadkernel-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