From: Randy Dunlap <rdunlap@infradead.org>
To: "Enrico Weigelt, metux IT consult" <info@metux.net>,
linux-kernel@vger.kernel.org
Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
x86@kernel.org, hpa@zytor.com
Subject: Re: [PATCH] arch: x86: make video init optional (expert)
Date: Mon, 7 Dec 2020 13:57:54 -0800 [thread overview]
Message-ID: <0d4f7c6a-0f66-9031-556b-1e5d51e52edb@infradead.org> (raw)
In-Reply-To: <20201207212033.2736-1-info@metux.net>
On 12/7/20 1:20 PM, Enrico Weigelt, metux IT consult wrote:
> As x86 is becoming more widespread in embedded devices, that don't have
> any video adapter at all, make it possible to opt out from video init on
> bootup (expert option). Also useful for minimized paravirtualized kernels.
>
> Most users wanna leave this enabled and shouldn't touch it, thus defaulting
want to
> to y and hiding behind CONFIG_EXPERT.
>
> Signed-off-by: Enrico Weigelt <info@metux.net>
> ---
> arch/x86/Kconfig | 7 +++++++
> arch/x86/boot/Makefile | 10 +++++-----
> arch/x86/boot/main.c | 2 ++
> 3 files changed, 14 insertions(+), 5 deletions(-)
>
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index fbf26e0f7a6a..43b4b2cca2b0 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -913,6 +913,13 @@ config DMI
> affected by entries in the DMI blacklist. Required by PNP
> BIOS code.
>
> +config X86_BOOT_VIDEO
> + default y
> + bool "Setup video on boot" if EXPERT
> + help
> + Enable setting video mode on boot. Say Y here unless your machine
> + doesn't have any video adapter. (eg. embedded systems or VMs)
(e.g., embedded systems or VMs)
> +
> config GART_IOMMU
> bool "Old AMD GART IOMMU support"
> select DMA_OPS
--
~Randy
next prev parent reply other threads:[~2020-12-07 21:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-07 21:20 Enrico Weigelt, metux IT consult
2020-12-07 21:57 ` Randy Dunlap [this message]
2020-12-15 19:08 ` Enrico Weigelt, metux IT consult
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0d4f7c6a-0f66-9031-556b-1e5d51e52edb@infradead.org \
--to=rdunlap@infradead.org \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=info@metux.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®