[PATCH 2/3] Split VGA default device handler out of VGA arbiter
Lukas Wunner
lukas at wunner.de
Fri Aug 4 23:57:54 PDT 2017
On Fri, Aug 04, 2017 at 08:20:32PM +1000, Daniel Axtens wrote:
> A system without PCI legacy resources (e.g. ARM64, powerpc) may
> find that no default/boot VGA device has been marked, because the
> VGA arbiter checks for legacy resource decoding before marking a
> card as default.
Would it be feasible to just sprinkle some "if (IS_ENABLED(CONFIG_X86))"
over the portions of vgaarb.c that deal with legacy resources?
I'm missing some context as to the negative consequences you're
experiencing on other arches (the cover letter merely refers to
"quirks in ppc and concerns in arm land" and is missing links to
archived versions of v1 and v2), but clearly legacy resources are
x86-specific so any code dealing with them seems superfluous on
other arches and should be marked as such.
Please cc dri-devel when proposing changes to vgaarb.c (see
MAINTAINERS).
Thanks,
Lukas
More information about the linux-arm-kernel
mailing list