On 06/07/2026 07:18, Cédric Bellegarde wrote:
Backlight updates via bl_update_status() could be triggered before the
panel was fully initialized, resulting in failed DCS commands during
the atomic commit sequence.
Guard bl_update_status() with a prepared flag to skip backlight updates
when the panel is not yet ready.
Looking at
* When the panel is enabled backlight will be enabled after a
* successful call to &drm_panel_funcs.enable()
in drivers/gpu/drm/drm_panel.c
I have feeling this isn't something driver itself should take care of.
While this solving issue for this specific driver, I'm not seeing anything
similar deployed anywhere else which makes me suspicious.
David
[...]