Skip to content

Allow non-legacy cards to be vgaarb default

Daniel Axtens linux-arm-kernel linux-pci linuxppc-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Allow non-legacy cards to be vgaarb default

Hi Ard,

Quoted 5 lines

But the fact remains that we are going about this the wrong way. Whether a graphics card decodes legacy VGA ranges or not has *nothing* to do with whether or not it is in fact the primary device on a non-x86 system, and so I still think the VGA arbiter should be omitted entirely for such platforms, and Xorg should be fixed instead.

OK, I see where you're coming from. I've been trying to keep my changes small as I don't want to end up on the hook for the almost limitless range of problems that changing this sort of code can have, but I do take your point that it's a bit of an ugly hack of a solution.

Say we were to change Xorg instead. What would correct Xorg behaviour look like? Xorg would need to honour the boot_vga file if it existed so as not to break x86, etc. So your proposed Xorg - if it couldn't find a default card that way, and if there was no helpful config file info, would arbitrarily pick a card that has an Xorg driver? In other words, much like the proposed kernel approach but at a different level of the stack?

Are there other graphical applications we care about (other than Xorg) that would need to be patched? I'm happy to do the Xorg patch, but I don't know if anything other than Xorg keys off the boot_vga file.

I'm not fundamentally opposed to this approach if the Xorg community is happy with it, the kernel community is happy with it, and no-one expects me to provide patches to any other user-space applications that depend on boot_vga.

Regards,
Daniel