commit | 60a9bac8ab48ddbf68dc280cd26879583e9d72ba | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Thu Feb 24 16:47:45 2022 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Mar 09 18:30:56 2022 -0600 |
tree | 241524338d0fb94d255f721a3a86fec14a21cd87 | |
parent | c1593ddd894d0518fc96fe7f531f3a5c919b8463 [diff] |
PCI/VGA: Factor out vga_select_framebuffer_device() On x86 and ia64, if a VGA device BARs include a framebuffer reported by platform firmware, we select the device as the default VGA device. Factor this code to a separate function. No functional change intended. Link: https://lore.kernel.org/r/20220224224753.297579-4-helgaas@kernel.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Bruno Prémont <bonbons@linux-vserver.org>