Thread (20 messages) 20 messages, 3 authors, 2025-04-15

Re: [PATCH v4 06/11] backlight: Replace fb events with a dedicated function call

flat view

From: Daniel Thompson <danielt@kernel.org>
Date: 2025-03-21 11:26:35
Also in: dri-devel, linux-leds

On Fri, Mar 21, 2025 at 10:53:59AM +0100, Thomas Zimmermann wrote:
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)
I was convinced by the replies to other things in v4. Thanks!
v3:
- declare empty fb_bl_notify_blank() as static inline (kernel test robot)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Simona Vetter <redacted>

Reviewed-by: Daniel Thompson (RISCstar) <danielt@kernel.org>


Daniel.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help