public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Question regarding changing video adapter selection during pre-boot (PEI/DXE)
@ 2023-04-24  6:00 pharcellus
  0 siblings, 0 replies; only message in thread
From: pharcellus @ 2023-04-24  6:00 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]

Greetings, all.

I have kind of a general UEFI dev question. I have multiple video adapters in a system in which the BIOS doesn't provide even a hidden means of selecting a particular adapter to use as the default boot adapter. It seems like the heuristic is similar to what vgaarb does in the Linux kernel, where it takes the adapter with the highest available PCI device ID and that one becomes the active boot adapter.

I've read a bit of the UEFI spec about the GOP protocol, but what I wanted to know was where I could look for the code that makes the determination for the heuristic. Does it reside in a DXE driver module, or is it in a different location? If so, could you tell me which one or where might I look to find it?

Also, is there a way without patching a UEFI BIOS to change that heuristic if the BIOS itself doesn't provide a setup option? Like, could I add a DXE driver to change it, or some other driver in the boot EFI partition? (I would tend to think it would be too late at that point, but figured I would ask).

Thank you in advance for any advice,
Talarus Luan

[-- Attachment #2: Type: text/html, Size: 1134 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-24  6:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24  6:00 Question regarding changing video adapter selection during pre-boot (PEI/DXE) pharcellus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox