On Fri, Jul 03, 2020 at 08:45:38PM +0200, Sam Ravnborg wrote: > Based on an idea from Emil Velikov <[email protected]> > add a helper that checks backlight_is_blank() and return 0 as brightness > if display is blank or the property value if not. > > This allows us to simplify the update_status() implementation > in most of the backlight drivers. > > Signed-off-by: Sam Ravnborg <[email protected]> > Cc: Emil Velikov <[email protected]> > Cc: Lee Jones <[email protected]> > Cc: Daniel Thompson <[email protected]> > Cc: Jingoo Han <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]> _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
