Date: Sun, 14 Jun 2020 10:13:41 +0000 (UTC) From: Toomas Soome <tsoome@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r362174 - head/stand/efi/loader Message-ID: <202006141013.05EADfX1038769@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tsoome Date: Sun Jun 14 10:13:40 2020 New Revision: 362174 URL: https://svnweb.freebsd.org/changeset/base/362174 Log: loader.efi: update console after gfx mode change The gfx mode change should be coordinated with console setup. Modified: head/stand/efi/loader/framebuffer.c Modified: head/stand/efi/loader/framebuffer.c ============================================================================== --- head/stand/efi/loader/framebuffer.c Sun Jun 14 09:50:00 2020 (r362173) +++ head/stand/efi/loader/framebuffer.c Sun Jun 14 10:13:40 2020 (r362174) @@ -586,6 +586,7 @@ gop_autoresize(EFI_GRAPHICS_OUTPUT *gop) mode, EFI_ERROR_CODE(status)); return (CMD_ERROR); } + (void) efi_cons_update_mode(); } return (CMD_OK); } @@ -610,6 +611,7 @@ text_autoresize() } if (max_dim > 0) conout->SetMode(conout, best_mode); + (void) efi_cons_update_mode(); return (CMD_OK); } @@ -697,6 +699,7 @@ command_gop(int argc, char *argv[]) argv[0], mode, EFI_ERROR_CODE(status)); return (CMD_ERROR); } + (void) efi_cons_update_mode(); } else if (!strcmp(argv[1], "get")) { if (argc != 2) goto usage;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006141013.05EADfX1038769>