Commit a8fcb24b authored by mperes's avatar mperes Committed by nouveau
Browse files

PM: add some commands to influence the power state of the different devices

parent ab3f555f
......@@ -74,13 +74,41 @@ Each line of the output is of the following format:
* DIS: Discrete GPU (your AMD or NVIDIA GPU)
* IGD: Integrated Graphics (your Intel card?)
* DIS-Audio: The audio device exported by your discrete GPU for HDMI sound playback
* A sign:
* '+': This device is connected to graphics connectors
* ' ': This device is not connected to graphics connectors
* A power state:
* OFF: The device is powered off
* ON: The device is powered on
* DynOff: The device will be powered on when needed and powered off when unused for some time
* DynOff: The device is currently powered off but will be powered on when needed
* DynPwr: The device is currently powered on but will be powered off when not needed
* The PCI-ID of the device
#### U
#### Forcing the power state of the devices
Turn on the GPU that is not currently driving the outputs:
echo ON > /sys/kernel/debug/vgaswitcheroo/switch
Turn off the GPU that is not currently driving the outputs:
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
Connect the graphics connectors to the integrated GPU:
echo IGD > /sys/kernel/debug/vgaswitcheroo/switch
Connect the graphics connectors to the discrete GPU:
echo DIS > /sys/kernel/debug/vgaswitcheroo/switch
Prepare a switch to the integrated GPU to occur when the X server gets restarted:
echo DIGD > /sys/kernel/debug/vgaswitcheroo/switch
Prepare a switch to the discrete GPU to occur when the X server gets restarted:
echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch
### Known issues
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment