]> git.baikalelectronics.ru Git - kernel.git/commit
vgaarb: Keep adding VGA device in queue
authorAaron Ma <aaron.ma@canonical.com>
Fri, 31 Aug 2018 18:20:00 +0000 (02:20 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Oct 2018 05:23:00 +0000 (07:23 +0200)
commit3dd117952092d85332d384e399b8ee39aa2dce85
tree5e61d1327e8ca27bce41004845ce8c5789f2caba
parent485ad495b591fafe5c9d1e78f5754df7b76a9ecb
vgaarb: Keep adding VGA device in queue

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
drivers/gpu/vga/vgaarb.c