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

Daniel Thompson danielt at kernel.org
Fri Mar 21 11:26:25 UTC 2025


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 at suse.de>
> Acked-by: Simona Vetter <simona.vetter at ffwll.ch>


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


Daniel.


More information about the dri-devel mailing list