Re: [PATCH 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-27 Thread Daniel van Vugt
On 27/2/24 21:47, Hans de Goede wrote: > Hi, > > On 2/27/24 02:06, Daniel van Vugt wrote: >> On 27/2/24 02:23, Hans de Goede wrote: >>> Hi All, >>> >>> On 2/2/24 09:53, Daniel van Vugt wrote: >>>> Until now, deferred console takeover only

Re: [PATCH 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-26 Thread Daniel van Vugt
On 27/2/24 02:23, Hans de Goede wrote: > Hi All, > > On 2/2/24 09:53, Daniel van Vugt wrote: >> Until now, deferred console takeover only meant defer until there is >> output. But that risks stepping on the toes of userspace splash screens, >> as console messages m

[PATCH v4 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-19 Thread Daniel van Vugt
Signed-off-by: Daniel van Vugt --- v2: Added Kconfig option instead of hard coding "splash". v3: Default to disabled, not "splash". If enabled then take over on switch rather than on first output after switch. v4: Elaborate more in the commit message about races and Kconfig

[PATCH v4 1/2] dummycon: Add dummycon_(un)register_switch_notifier

2024-02-19 Thread Daniel van Vugt
To detect switch attempts before a real console exists. This will be used for the same purpose as dummycon_(un)register_output_notifier, for fbcon to detect a more polite time to take over. Signed-off-by: Daniel van Vugt --- drivers/video/console/dummycon.c | 35

[PATCH v3 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-13 Thread Daniel van Vugt
onciello Signed-off-by: Daniel van Vugt --- drivers/video/console/Kconfig| 12 + drivers/video/fbdev/core/fbcon.c | 44 +--- 2 files changed, 52 insertions(+), 4 deletions(-) diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig index bc

[PATCH v3 1/2] dummycon: Add dummycon_(un)register_switch_notifier

2024-02-13 Thread Daniel van Vugt
To detect switch attempts before a real console exists. This will be used for the same purpose as dummycon_(un)register_output_notifier, for fbcon to detect a more polite time to take over. Signed-off-by: Daniel van Vugt --- drivers/video/console/dummycon.c | 35

Re: [PATCH v2 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-12 Thread Daniel van Vugt
On 9/2/24 18:58, Daniel Vetter wrote: > On Thu, Feb 08, 2024 at 09:16:50AM +0800, Daniel van Vugt wrote: >> On 8/2/24 04:21, Mario Limonciello wrote: >>> On 2/7/2024 03:51, Daniel Vetter wrote: >>>> On Wed, Feb 07, 2024 at 10:03:10AM +0800, Daniel van Vugt wrote

Re: [PATCH v2 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-07 Thread Daniel van Vugt
On 8/2/24 04:21, Mario Limonciello wrote: > On 2/7/2024 03:51, Daniel Vetter wrote: >> On Wed, Feb 07, 2024 at 10:03:10AM +0800, Daniel van Vugt wrote: >>> On 6/2/24 23:41, Mario Limonciello wrote: >>>> On 2/6/2024 08:21, Daniel Vetter wrote: >>>>> On

Re: [PATCH v2 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-06 Thread Daniel van Vugt
On 6/2/24 23:41, Mario Limonciello wrote: > On 2/6/2024 08:21, Daniel Vetter wrote: >> On Tue, Feb 06, 2024 at 06:10:51PM +0800, Daniel van Vugt wrote: >>> Until now, deferred console takeover only meant defer until there is >>> output. But that risks stepping on t

[PATCH v2 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-06 Thread Daniel van Vugt
the deferral until after the first switch. V2: Added Kconfig option instead of hard coding "splash". Closes: https://bugs.launchpad.net/bugs/1970069 Cc: Mario Limonciello Signed-off-by: Daniel van Vugt --- drivers/video/console/Kconfig| 13 +++ drivers/video/fbdev/core/fb

[PATCH v2 1/2] dummycon: Add dummycon_(un)register_switch_notifier

2024-02-06 Thread Daniel van Vugt
To detect switch attempts before a real console exists. This will be used for the same purpose as dummycon_(un)register_output_notifier, for fbcon to detect a more polite time to take over. Signed-off-by: Daniel van Vugt --- drivers/video/console/dummycon.c | 35

[PATCH 1/2] dummycon: Add dummycon_(un)register_switch_notifier

2024-02-02 Thread Daniel van Vugt
To detect switch attempts before a real console exists. This will be used for the same purpose as dummycon_(un)register_output_notifier, for fbcon to detect a more polite time to take over. Signed-off-by: Daniel van Vugt --- drivers/video/console/dummycon.c | 35

[PATCH 2/2] fbcon: Defer console takeover for splash screens to first switch

2024-02-02 Thread Daniel van Vugt
e deferral until the first switch. Closes: https://bugs.launchpad.net/bugs/1970069 Cc: Mario Limonciello Signed-off-by: Daniel van Vugt --- drivers/video/fbdev/core/fbcon.c | 32 +--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/drivers/video/fbdev/co