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

Daniel Thompson danielt at kernel.org
Fri Mar 21 11:27:24 UTC 2025


On Fri, Mar 21, 2025 at 10:54:01AM +0100, Thomas Zimmermann wrote:
> Remove support for fb events from the lcd subsystem. Provide the
> helper lcd_notify_blank_all() instead. In fbdev, call
> lcd_notify_blank_all() to inform the lcd subsystem of changes
> to a display's blank state.
>
> Fbdev maintains a list of all installed notifiers. Instead of fbdev
> notifiers, maintain an internal list of lcd devices.
>
> v3:
> - export lcd_notify_mode_change_all() (kernel test robot)
> v2:
> - maintain global list of lcd devices
> - avoid IS_REACHABLE() in source file
> - use lock guards
> - initialize lcd list and list mutex
>
> 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