Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
|
|
Video Output Switcher Control
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
2006 luming.yu@intel.com
|
|
|
|
The output sysfs class driver provides an abstract video output layer that
|
|
can be used to hook platform specific methods to enable/disable video output
|
|
device through common sysfs interface. For example, on my IBM ThinkPad T42
|
|
laptop, The ACPI video driver registered its output devices and read/write
|
|
method for 'state' with output sysfs class. The user interface under sysfs is:
|
|
|
|
linux:/sys/class/video_output # tree .
|
|
.
|
|
|-- CRT0
|
|
| |-- device -> ../../../devices/pci0000:00/0000:00:01.0
|
|
| |-- state
|
|
| |-- subsystem -> ../../../class/video_output
|
|
| `-- uevent
|
|
|-- DVI0
|
|
| |-- device -> ../../../devices/pci0000:00/0000:00:01.0
|
|
| |-- state
|
|
| |-- subsystem -> ../../../class/video_output
|
|
| `-- uevent
|
|
|-- LCD0
|
|
| |-- device -> ../../../devices/pci0000:00/0000:00:01.0
|
|
| |-- state
|
|
| |-- subsystem -> ../../../class/video_output
|
|
| `-- uevent
|
|
`-- TV0
|
|
|-- device -> ../../../devices/pci0000:00/0000:00:01.0
|
|
|-- state
|
|
|-- subsystem -> ../../../class/video_output
|
|
`-- uevent
|
|
|