Add backlight function to linuxkpi.
Graphics drivers expose the backlight of the panel directly so allow them to use the backlight subsystem so
user can use backlight(8) to configure them.
Sponsored-by: The FreeBSD Foundation.
Paths
| Differential D26253 Authored by manu on Aug 31 2020, 2:56 PM.
Details
Summary Add backlight function to linuxkpi. Sponsored-by: The FreeBSD Foundation. Test Plan Tested using https://github.com/freebsd/drm-kmod/tree/backlight on intel and amd laptop.
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptAug 31 2020, 2:56 PM2020-08-31 14:56:09 (UTC+0) Comment Actions
See https://reviews.freebsd.org/D26251
Yes I think so, I'll not commit before making a PR (if required).
This revision is now accepted and ready to land.Aug 31 2020, 4:09 PM2020-08-31 16:09:44 (UTC+0)
This revision now requires review to proceed.Sep 3 2020, 12:35 PM2020-09-03 12:35:32 (UTC+0)
• hselasky added inline comments.
This revision is now accepted and ready to land.Sep 3 2020, 12:44 PM2020-09-03 12:44:22 (UTC+0) This revision now requires review to proceed.Sep 3 2020, 12:45 PM2020-09-03 12:45:34 (UTC+0) This revision is now accepted and ready to land.Sep 3 2020, 12:51 PM2020-09-03 12:51:29 (UTC+0) This revision now requires review to proceed.Sep 16 2020, 4:33 PM2020-09-16 16:33:06 (UTC+0) This revision is now accepted and ready to land.Sep 16 2020, 5:17 PM2020-09-16 17:17:13 (UTC+0) Herald added a subscriber: linuxkpi. · View Herald TranscriptOct 5 2020, 2:14 PM2020-10-05 14:14:24 (UTC+0)
Revision Contents
Diff 77106 sys/compat/linuxkpi/common/include/linux/backlight.h
sys/compat/linuxkpi/common/include/linux/device.h
sys/compat/linuxkpi/common/src/linux_pci.c
|
Should this be _LINUX_BACKLIGHT_H_ ?