summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/bcm2711_rng.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2020-04-19 15:05:14 +0000
committerkettenis <kettenis@openbsd.org>2020-04-19 15:05:14 +0000
commit247c8e67a5392fb306c89d31d4ff2209d79c66fd (patch)
tree8aaef1e317ef22ce9e85df04b9ebe5c6c82e7d0d /sys/dev/fdt/bcm2711_rng.c
parentAdd bcmclock, a driver for the BCM283X CPRMAN clock controller. (diff)
downloadwireguard-openbsd-247c8e67a5392fb306c89d31d4ff2209d79c66fd.tar.xz
wireguard-openbsd-247c8e67a5392fb306c89d31d4ff2209d79c66fd.zip
Move logic to change brightness level in reasonable steps from acpivout(4)
into wsdisplay(4). This code is now exposed through wsdisplay_brightness_{step,zero,cycle} functions that can be called by any driver that handles brightnes "hotkeys". These functions take a wsdisplay(4) device pointer as their first argument, which should be provided if a clear association between events and a particular display exist. This is used in wskbd(4). Otherwise NULL can be passed and the code will direct the request at the first wsdisplay(4) that implements brightness adjustment. Tested by many. Fixes brightness keys on x395 and other thinkpads with AMD graphics. ok patrick@
Diffstat (limited to 'sys/dev/fdt/bcm2711_rng.c')
0 files changed, 0 insertions, 0 deletions