Hi,
Does anyone has the bandwidth to review this?
I provide more additional information here, hope it helps.
On a non-x86 multiple platform, the discrete AMDGPU fails to override
the integrated one.
because the PCI BAR 0 of the AMDGPU gets moved.
Below is the log of 'dmesg | grep vgaarb'.
From: Sui Jingfeng
[why]
The vga_is_firmware_default() defined in drivers/pci/vgaarb.c is
arch-dependent, it's a dummy on non-x86 architectures currently.
This made VGAARB lost an important condition for the arbitration.
It could still be wrong even if we remove the #ifdef and #endif guards.
bec