]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
vgaarb: Keep adding VGA device in queue
authorAaron Ma <aaron.ma@canonical.com>
Tue, 22 Jan 2019 07:05:46 +0000 (15:05 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Feb 2019 04:53:01 +0000 (04:53 +0000)
commitc84d8890f46b19f25f1ff13b72ec30c6be0c575e
tree915d51b1b523b82549f1966729a39708e1d8f8c3
parent7c26264e6316c4b586ec07fc5d360562700cabb9
vgaarb: Keep adding VGA device in queue

BugLink: https://bugs.launchpad.net/bugs/1812797
If failed to find the deivice owning the boot framebuffer,
try to use the first VGA device instead of the last one.

Usually the 1st device is integrated GPU who owns the boot framebuffer.

Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1535739600-8842-2-git-send-email-aaron.ma@canonical.com
(cherry picked from commit 3d42f1ddc47a69c0ce155f9f30d764c4d689a5fa)
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/vga/vgaarb.c