On Fri, Jul 03, 2020 at 08:45:38PM +0200, Sam Ravnborg wrote: > Based on an idea from Emil Velikov <emil.l.veli...@gmail.com> > 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 <s...@ravnborg.org> > Cc: Emil Velikov <emil.l.veli...@gmail.com> > Cc: Lee Jones <lee.jo...@linaro.org> > Cc: Daniel Thompson <daniel.thomp...@linaro.org> > Cc: Jingoo Han <jingooh...@gmail.com>
Reviewed-by: Daniel Thompson <daniel.thomp...@linaro.org> _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel