The branch main has been updated by wulf:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2300c23d8ae876674358eec5283c6684921dfeae

commit 2300c23d8ae876674358eec5283c6684921dfeae
Author:     Vladimir Kondratyev <[email protected]>
AuthorDate: 2026-10-03 11:26:14 +0000
Commit:     Vladimir Kondratyev <[email protected]>
CommitDate: 2026-10-03 11:26:14 +0000

    vt_fb: Do not perform VT switch in vd_init hook
    
    After 40c20fc29cad it is done by vt_core as soon as vt lock is dropped
    after vd_init() has been executed to avoid sleeping with non-sleepable
    lock held.
    
    Reviewed by:    quentin.thebault_defenso.fr, vexeduxr
    Differential Revision:  https://reviews.freebsd.org/D59632
---
 sys/dev/vt/hw/fb/vt_fb.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/dev/vt/hw/fb/vt_fb.c b/sys/dev/vt/hw/fb/vt_fb.c
index 6130dc4061b4..bff5c3a290e8 100644
--- a/sys/dev/vt/hw/fb/vt_fb.c
+++ b/sys/dev/vt/hw/fb/vt_fb.c
@@ -552,9 +552,6 @@ vt_fb_init(struct vt_device *vd)
        /* Clear the screen. */
        vd->vd_driver->vd_blank(vd, c);
 
-       /* Wakeup screen. KMS need this. */
-       vt_fb_postswitch(vd);
-
        return (CN_INTERNAL);
 }
 

Reply via email to