diff options
| author | Thomas Zimmermann <[email protected]> | 2025-03-21 09:53:59 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2025-04-10 09:39:03 +0000 |
| commit | b01beb2f1f6bcda17634a5b529865ffc5a9b795f (patch) | |
| tree | 451b735697c8a866e128805729ce2b2efc7f7963 /rust/helpers/xarray.c | |
| parent | backlight: Move blank-state handling into helper (diff) | |
| download | kernel-b01beb2f1f6bcda17634a5b529865ffc5a9b795f.tar.gz kernel-b01beb2f1f6bcda17634a5b529865ffc5a9b795f.zip | |
backlight: Replace fb events with a dedicated function call
Remove support for fb events from backlight subsystem. Provide the
helper backlight_notify_blank_all() instead. Also export the existing
helper backlight_notify_blank() to update a single backlight device.
In fbdev, call either helper to inform the backlight subsystem of
changes to a display's blank state. If the framebuffer device has a
specific backlight, only update this one; otherwise update all.
v4:
- protect blacklight declarations with IS_REACHABLE() (kernel test robot)
v3:
- declare empty fb_bl_notify_blank() as static inline (kernel test robot)
Signed-off-by: Thomas Zimmermann <[email protected]>
Acked-by: Simona Vetter <[email protected]>
Reviewed-by: "Daniel Thompson (RISCstar)" <[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
