linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements
@ 2025-09-09  6:37 Bagas Sanjaya
  2025-09-09  6:37 ` [PATCH 1/3] Documentation: fbcon: Add boot options and attach/detach/unload section headings Bagas Sanjaya
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2025-09-09  6:37 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux Framebuffer,
	Linux DRI Development
  Cc: Helge Deller, Jonathan Corbet, Bagas Sanjaya

Hi,

Here are reST formatting cleanup and improvements for fbcon documentation.
The shortlog below should be self-explanatory.

This series is based on docs-next tree.

Enjoy!

Bagas Sanjaya (3):
  Documentation: fbcon: Add boot options and attach/detach/unload
    section headings
  Documentation: fbcon: Reindent 8th step of attach/detach/unload
  Documentation: fbcon: Use admonition directives

 Documentation/fb/fbcon.rst | 42 ++++++++++++++++++++++----------------
 1 file changed, 24 insertions(+), 18 deletions(-)


base-commit: 7e5a0fe4e8ae2eb341f8ebbee2b24231a58fc28b
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/3] Documentation: fbcon: Add boot options and attach/detach/unload section headings
  2025-09-09  6:37 [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Bagas Sanjaya
@ 2025-09-09  6:37 ` Bagas Sanjaya
  2025-09-09  6:37 ` [PATCH 2/3] Documentation: fbcon: Reindent 8th step of attach/detach/unload Bagas Sanjaya
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2025-09-09  6:37 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux Framebuffer,
	Linux DRI Development
  Cc: Helge Deller, Jonathan Corbet, Bagas Sanjaya

These last two enumerated sections headings are in normal paragraphs,
making both sections merged into "Loading" section instead.

Add the headings.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/fb/fbcon.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/fb/fbcon.rst b/Documentation/fb/fbcon.rst
index 212f7003cfbab2..b9ddc145aa9f6a 100644
--- a/Documentation/fb/fbcon.rst
+++ b/Documentation/fb/fbcon.rst
@@ -74,6 +74,7 @@ Possible scenarios:
 	 over the console.
 
 C. Boot options
+===============
 
 	 The framebuffer console has several, largely unknown, boot options
 	 that can change its behavior.
@@ -172,7 +173,8 @@ C. Boot options
 	The value 'n' overrides the number of bootup logos. 0 disables the
 	logo, and -1 gives the default which is the number of online CPUs.
 
-C. Attaching, Detaching and Unloading
+D. Attaching, Detaching and Unloading
+=====================================
 
 Before going on to how to attach, detach and unload the framebuffer console, an
 illustration of the dependencies may help.
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/3] Documentation: fbcon: Reindent 8th step of attach/detach/unload
  2025-09-09  6:37 [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Bagas Sanjaya
  2025-09-09  6:37 ` [PATCH 1/3] Documentation: fbcon: Add boot options and attach/detach/unload section headings Bagas Sanjaya
@ 2025-09-09  6:37 ` Bagas Sanjaya
  2025-09-09  6:37 ` [PATCH 3/3] Documentation: fbcon: Use admonition directives Bagas Sanjaya
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2025-09-09  6:37 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux Framebuffer,
	Linux DRI Development
  Cc: Helge Deller, Jonathan Corbet, Bagas Sanjaya

Properly indent 8th step text (as enumerated list item) to be inline
with other steps.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/fb/fbcon.rst | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Documentation/fb/fbcon.rst b/Documentation/fb/fbcon.rst
index b9ddc145aa9f6a..3ed98b3ce64713 100644
--- a/Documentation/fb/fbcon.rst
+++ b/Documentation/fb/fbcon.rst
@@ -251,11 +251,11 @@ restored properly. The following is one of the several methods that you can do:
        echo 1 > /sys/class/vtconsole/vtcon1/bind
 
 8. Once fbcon is unbound, all drivers registered to the system will also
-become unbound.  This means that fbcon and individual framebuffer drivers
-can be unloaded or reloaded at will. Reloading the drivers or fbcon will
-automatically bind the console, fbcon and the drivers together. Unloading
-all the drivers without unloading fbcon will make it impossible for the
-console to bind fbcon.
+   become unbound.  This means that fbcon and individual framebuffer drivers
+   can be unloaded or reloaded at will. Reloading the drivers or fbcon will
+   automatically bind the console, fbcon and the drivers together. Unloading
+   all the drivers without unloading fbcon will make it impossible for the
+   console to bind fbcon.
 
 Notes for vesafb users:
 =======================
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/3] Documentation: fbcon: Use admonition directives
  2025-09-09  6:37 [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Bagas Sanjaya
  2025-09-09  6:37 ` [PATCH 1/3] Documentation: fbcon: Add boot options and attach/detach/unload section headings Bagas Sanjaya
  2025-09-09  6:37 ` [PATCH 2/3] Documentation: fbcon: Reindent 8th step of attach/detach/unload Bagas Sanjaya
@ 2025-09-09  6:37 ` Bagas Sanjaya
  2025-09-11  3:35 ` [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Randy Dunlap
  2025-09-18 16:37 ` Jonathan Corbet
  4 siblings, 0 replies; 6+ messages in thread
From: Bagas Sanjaya @ 2025-09-09  6:37 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation, Linux Framebuffer,
	Linux DRI Development
  Cc: Helge Deller, Jonathan Corbet, Bagas Sanjaya

Use reST syntax for admonitions (notes and custom admonition
for gotcha).

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/fb/fbcon.rst | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/Documentation/fb/fbcon.rst b/Documentation/fb/fbcon.rst
index 3ed98b3ce64713..a98a5cb0b0d8bd 100644
--- a/Documentation/fb/fbcon.rst
+++ b/Documentation/fb/fbcon.rst
@@ -39,11 +39,13 @@ Also, you will need to select at least one compiled-in font, but if
 you don't do anything, the kernel configuration tool will select one for you,
 usually an 8x16 font.
 
-GOTCHA: A common bug report is enabling the framebuffer without enabling the
-framebuffer console.  Depending on the driver, you may get a blanked or
-garbled display, but the system still boots to completion.  If you are
-fortunate to have a driver that does not alter the graphics chip, then you
-will still get a VGA console.
+.. admonition:: GOTCHA
+
+   A common bug report is enabling the framebuffer without enabling the
+   framebuffer console.  Depending on the driver, you may get a blanked or
+   garbled display, but the system still boots to completion.  If you are
+   fortunate to have a driver that does not alter the graphics chip, then you
+   will still get a VGA console.
 
 B. Loading
 ==========
@@ -117,9 +119,10 @@ C. Boot options
 	outside the given range will still be controlled by the standard
 	console driver.
 
-	NOTE: For x86 machines, the standard console is the VGA console which
-	is typically located on the same video card.  Thus, the consoles that
-	are controlled by the VGA console will be garbled.
+	.. note::
+	   For x86 machines, the standard console is the VGA console which
+	   is typically located on the same video card.  Thus, the consoles that
+	   are controlled by the VGA console will be garbled.
 
 4. fbcon=rotate:<n>
 
@@ -141,10 +144,11 @@ C. Boot options
 	Console rotation will only become available if Framebuffer Console
 	Rotation support is compiled in your kernel.
 
-	NOTE: This is purely console rotation.  Any other applications that
-	use the framebuffer will remain at their 'normal' orientation.
-	Actually, the underlying fb driver is totally ignorant of console
-	rotation.
+	.. note::
+	   This is purely console rotation.  Any other applications that
+	   use the framebuffer will remain at their 'normal' orientation.
+	   Actually, the underlying fb driver is totally ignorant of console
+	   rotation.
 
 5. fbcon=margin:<color>
 
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements
  2025-09-09  6:37 [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Bagas Sanjaya
                   ` (2 preceding siblings ...)
  2025-09-09  6:37 ` [PATCH 3/3] Documentation: fbcon: Use admonition directives Bagas Sanjaya
@ 2025-09-11  3:35 ` Randy Dunlap
  2025-09-18 16:37 ` Jonathan Corbet
  4 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2025-09-11  3:35 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Kernel Mailing List, Linux Documentation,
	Linux Framebuffer, Linux DRI Development
  Cc: Helge Deller, Jonathan Corbet



On 9/8/25 11:37 PM, Bagas Sanjaya wrote:
> Hi,
> 
> Here are reST formatting cleanup and improvements for fbcon documentation.
> The shortlog below should be self-explanatory.
> 
> This series is based on docs-next tree.
> 
> Enjoy!
> 
> Bagas Sanjaya (3):
>   Documentation: fbcon: Add boot options and attach/detach/unload
>     section headings
>   Documentation: fbcon: Reindent 8th step of attach/detach/unload
>   Documentation: fbcon: Use admonition directives
> 
>  Documentation/fb/fbcon.rst | 42 ++++++++++++++++++++++----------------
>  1 file changed, 24 insertions(+), 18 deletions(-)
> 
> 
> base-commit: 7e5a0fe4e8ae2eb341f8ebbee2b24231a58fc28b

For all 3 patches:

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

-- 
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements
  2025-09-09  6:37 [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Bagas Sanjaya
                   ` (3 preceding siblings ...)
  2025-09-11  3:35 ` [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Randy Dunlap
@ 2025-09-18 16:37 ` Jonathan Corbet
  4 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2025-09-18 16:37 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Kernel Mailing List, Linux Documentation,
	Linux Framebuffer, Linux DRI Development
  Cc: Helge Deller, Bagas Sanjaya

Bagas Sanjaya <bagasdotme@gmail.com> writes:

> Hi,
>
> Here are reST formatting cleanup and improvements for fbcon documentation.
> The shortlog below should be self-explanatory.
>
> This series is based on docs-next tree.
>
> Enjoy!
>
> Bagas Sanjaya (3):
>   Documentation: fbcon: Add boot options and attach/detach/unload
>     section headings
>   Documentation: fbcon: Reindent 8th step of attach/detach/unload
>   Documentation: fbcon: Use admonition directives
>
>  Documentation/fb/fbcon.rst | 42 ++++++++++++++++++++++----------------
>  1 file changed, 24 insertions(+), 18 deletions(-)

It looks like nobody has picked these up yet, so I've applied them.

Thanks,

jon

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-18 16:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-09  6:37 [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Bagas Sanjaya
2025-09-09  6:37 ` [PATCH 1/3] Documentation: fbcon: Add boot options and attach/detach/unload section headings Bagas Sanjaya
2025-09-09  6:37 ` [PATCH 2/3] Documentation: fbcon: Reindent 8th step of attach/detach/unload Bagas Sanjaya
2025-09-09  6:37 ` [PATCH 3/3] Documentation: fbcon: Use admonition directives Bagas Sanjaya
2025-09-11  3:35 ` [PATCH 0/3] Documentation: fbcon: formatting cleanup and improvements Randy Dunlap
2025-09-18 16:37 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).