backlight: Expose interface to switch backlight on/off entirely

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 11 September 2014 02:09 UTC

A feature in recent kernels is to disambiguate between the meaning of brightness=0, between disabling the the backlight entirely or setting the lowest valid brightness. As such, we now have an extra knob in sysfs to explicitly request that the backlight be turned off.

08921e4 backlight: Expose interface to switch backlight on/off entirely
src/backlight.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
src/backlight.h | 3 +++
2 files changed, 53 insertions(+)

Upstream: cgit.freedesktop.org


  • Share