All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fbcon: remove restriction on margin color
@ 2017-08-23 19:18   ` David Lechner
  0 siblings, 0 replies; 4+ messages in thread
From: David Lechner @ 2017-08-23 19:18 UTC (permalink / raw)
  To: linux-fbdev
  Cc: David Lechner, Bartlomiej Zolnierkiewicz, Geert Uytterhoeven,
	linux-kernel

This removes the restriction on the value range of the fbcon=margin:
parameter. The color value really depends on the driver being used.

Signed-off-by: David Lechner <david@lechnology.com>
---

This is a follow up to "fbcon: add fbcon=margin:<color> command line option".

https://lkml.org/lkml/2017/8/23/479

 Documentation/fb/fbcon.txt    | 2 +-
 drivers/video/console/fbcon.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/Documentation/fb/fbcon.txt b/Documentation/fb/fbcon.txt
index 1822b19..a38d3aa 100644
--- a/Documentation/fb/fbcon.txt
+++ b/Documentation/fb/fbcon.txt
@@ -153,7 +153,7 @@ C. Boot options
 	This option specifies the color of the margins. The margins are the
 	leftover area at the right and the bottom of the screen that are not
 	used by text. By default, this area will be black. The 'color' value
-	is 0 to 7 where 0 is black and 7 is white.
+	is an integer number that depends on the framebuffer driver being used.
 
 C. Attaching, Detaching and Unloading
 
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 1bce7a7..82e5d6b 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -497,8 +497,6 @@ static int __init fb_console_setup(char *this_opt)
 			options += 7;
 			if (*options)
 				margin_color = simple_strtoul(options, &options, 0);
-			if (margin_color > 7)
-				margin_color = 0;
 			continue;
 		}
 	}
-- 
2.7.4

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

* [PATCH] fbcon: remove restriction on margin color
@ 2017-08-23 19:18   ` David Lechner
  0 siblings, 0 replies; 4+ messages in thread
From: David Lechner @ 2017-08-23 19:18 UTC (permalink / raw)
  To: linux-fbdev
  Cc: David Lechner, Bartlomiej Zolnierkiewicz, Geert Uytterhoeven,
	linux-kernel

This removes the restriction on the value range of the fbcon=margin:
parameter. The color value really depends on the driver being used.

Signed-off-by: David Lechner <david@lechnology.com>
---

This is a follow up to "fbcon: add fbcon=margin:<color> command line option".

https://lkml.org/lkml/2017/8/23/479

 Documentation/fb/fbcon.txt    | 2 +-
 drivers/video/console/fbcon.c | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/Documentation/fb/fbcon.txt b/Documentation/fb/fbcon.txt
index 1822b19..a38d3aa 100644
--- a/Documentation/fb/fbcon.txt
+++ b/Documentation/fb/fbcon.txt
@@ -153,7 +153,7 @@ C. Boot options
 	This option specifies the color of the margins. The margins are the
 	leftover area at the right and the bottom of the screen that are not
 	used by text. By default, this area will be black. The 'color' value
-	is 0 to 7 where 0 is black and 7 is white.
+	is an integer number that depends on the framebuffer driver being used.
 
 C. Attaching, Detaching and Unloading
 
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 1bce7a7..82e5d6b 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -497,8 +497,6 @@ static int __init fb_console_setup(char *this_opt)
 			options += 7;
 			if (*options)
 				margin_color = simple_strtoul(options, &options, 0);
-			if (margin_color > 7)
-				margin_color = 0;
 			continue;
 		}
 	}
-- 
2.7.4


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

* Re: [PATCH] fbcon: remove restriction on margin color
  2017-08-23 19:18   ` David Lechner
@ 2017-09-04 13:04     ` Bartlomiej Zolnierkiewicz
  -1 siblings, 0 replies; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2017-09-04 13:04 UTC (permalink / raw)
  To: David Lechner; +Cc: linux-fbdev, Geert Uytterhoeven, linux-kernel

On Wednesday, August 23, 2017 02:18:53 PM David Lechner wrote:
> This removes the restriction on the value range of the fbcon=margin:
> parameter. The color value really depends on the driver being used.
> 
> Signed-off-by: David Lechner <david@lechnology.com>

Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

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

* Re: [PATCH] fbcon: remove restriction on margin color
@ 2017-09-04 13:04     ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2017-09-04 13:04 UTC (permalink / raw)
  To: David Lechner; +Cc: linux-fbdev, Geert Uytterhoeven, linux-kernel

On Wednesday, August 23, 2017 02:18:53 PM David Lechner wrote:
> This removes the restriction on the value range of the fbcon=margin:
> parameter. The color value really depends on the driver being used.
> 
> Signed-off-by: David Lechner <david@lechnology.com>

Patch queued for 4.14, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


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

end of thread, other threads:[~2017-09-04 13:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170823191907epcas4p4f5ba212776ffd4d5d5629bc48dc13eb0@epcas4p4.samsung.com>
2017-08-23 19:18 ` [PATCH] fbcon: remove restriction on margin color David Lechner
2017-08-23 19:18   ` David Lechner
2017-09-04 13:04   ` Bartlomiej Zolnierkiewicz
2017-09-04 13:04     ` Bartlomiej Zolnierkiewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.