Skip to contentSkip to conversation

docs: sysctl/kernel: document acpi_video_flags

PATCH Applied Stephen Kitt 2 participants 3 messages Feb 21, 2020 – Feb 25, 2020 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: sysctl/kernel: document acpi_video_flags

Based on the implementation in arch/x86/kernel/acpi/sleep.c, in particular the acpi_sleep_setup() function.

---
 Documentation/admin-guide/sysctl/kernel.rst | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
Documentation/admin-guide/sysctl/kernel.rst +9 -2
index 534781ba3eac..1c48ab4bfe30 100644
@@ -54,8 +54,15 @@ free space valid for 30 seconds.
 acpi_video_flags
 ================
 
-See Documentation/kernel/power/video.txt, it allows mode of video boot
-to be set during run time.
+See :doc:`/power/video`. This allows the video resume mode to be set,
+in a similar fashion to the ``acpi_sleep`` kernel parameter, by
+combining the following values:
+
+= =======
+1 s3_bios
+2 s3_mode
+4 s3_beep
+= =======
 
 
 auto_msgmni
Signature · 1 line
2.20.1
#1 lore raw
Quoted 33 lines · Stephen Kitt

Based on the implementation in arch/x86/kernel/acpi/sleep.c, in particular the acpi_sleep_setup() function.

---
 Documentation/admin-guide/sysctl/kernel.rst | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/Documentation/admin-guide/sysctl/kernel.rst index 534781ba3eac..1c48ab4bfe30 100644 --- a/Documentation/admin-guide/sysctl/kernel.rst +++ b/Documentation/admin-guide/sysctl/kernel.rst @@ -54,8 +54,15 @@ free space valid for 30 seconds. acpi_video_flags
================

Documentation/admin-guide/sysctl/kernel.rst +9 -2
-See Documentation/kernel/power/video.txt, it allows mode of video boot
-to be set during run time.
+See :doc:`/power/video`. This allows the video resume mode to be set,
+in a similar fashion to the ``acpi_sleep`` kernel parameter, by
+combining the following values:
+
+= =======
+1 s3_bios
+2 s3_mode
+4 s3_beep
+= =======
 
 
 auto_msgmni
Signature · 1 line
2.20.1

I forgot to include the base commit information; this is against 8f21f54b8a95 in docs-next.

Regards,

Stephen