HomeFreeBSD

LinuxKPI: Implement backlight_enable and backlight_disable functions

Description

LinuxKPI: Implement backlight_enable and backlight_disable functions

For now, disable backlight if brightness level is set to 0.
In the future we may implement separate knob in backlight(8).

Required by drm-kmod v5.6

Reviewed by: hselasky, manu
Differential revision: https://reviews.freebsd.org/D32165

(cherry picked from commit b52e36384091c5f80b06b79f5889492eac074426)

Details

Provenance
wulfAuthored on Sep 29 2021, 8:15 PM
Reviewer
hselasky
Differential Revision
D32165: LinuxKPI: Implement backlight_enable and backlight_disable functions
Parents
rGf2a3116ab4d6: LinuxKPI: Add dummy pgprot_decrypted() implementation
Branches
Unknown
Tags
Unknown