Re: [PATCH 01/40] PCI: fix default vga ref_count

2012-09-23 Thread Jiang Liu
On 09/20/2012 02:54 AM, Yinghai Lu wrote: > when __ARCH_HAS_VGA_DEFAULT_DEVICE is not defined, aka EFIFB is not used, > for static path, vga_default setting is through vga_arbiter_add_pci_device. > and later x86 pci_fixup_video, will skip setting again. > - subsys_initcall(vga_arb_device_init) come

Re: [PATCH 01/40] PCI: fix default vga ref_count

2012-09-21 Thread Yinghai Lu
On Fri, Sep 21, 2012 at 1:52 PM, Bjorn Helgaas wrote: > On Wed, Sep 19, 2012 at 12:54 PM, Yinghai Lu wrote: >> --- a/drivers/gpu/vga/vgaarb.c >> +++ b/drivers/gpu/vga/vgaarb.c >> @@ -141,6 +141,12 @@ EXPORT_SYMBOL_GPL(vga_default_device); >> >> void vga_set_default_device(struct pci_dev *pdev) >

Re: [PATCH 01/40] PCI: fix default vga ref_count

2012-09-21 Thread Bjorn Helgaas
On Wed, Sep 19, 2012 at 12:54 PM, Yinghai Lu wrote: > when __ARCH_HAS_VGA_DEFAULT_DEVICE is not defined, aka EFIFB is not used, > for static path, vga_default setting is through vga_arbiter_add_pci_device. > and later x86 pci_fixup_video, will skip setting again. > - subsys_initcall(vga_arb_device

[PATCH 01/40] PCI: fix default vga ref_count

2012-09-19 Thread Yinghai Lu
when __ARCH_HAS_VGA_DEFAULT_DEVICE is not defined, aka EFIFB is not used, for static path, vga_default setting is through vga_arbiter_add_pci_device. and later x86 pci_fixup_video, will skip setting again. - subsys_initcall(vga_arb_device_init) come first to call vga_arbiter_add_pci_device. It wil